Redirect Blank Menu Pages

How to redirect blank pages as a result of selecting a navigation menu item

Blank page resulting from selecting a menu item

Another great example of this in practice is the Knack Directory in DTS Portal where each app has a blank page that redirects to its respective app's home page url.

The JS

We create a handler that renders on a specified page scene and redirects the page to the specified url (our first top level page in the menu)

Option A (standard redirect)

Option B (allows the user to go back in the browser after being redirected)

Option C (redirects from a root url - the first page in your page hierarchy. Used for Customer Portals)

The CSS

None needed 😎

How to Implement

Adjust the Scene ID

and the URL

Last updated

Was this helpful?