The FluidTopicsRouterService.navigateTo() method allows designers to redirect users to another page on the same portal, without the portal refreshing.
For example:
-
The following codeblock redirects users to the Home page:
FluidTopicsRouterService.navigateTo("/home"); -
The following codeblock redirects users to the Search page:
FluidTopicsRouterService.navigateTo("/search"); -
The following codeblock redirects users to a Custom page with a URL of
{fluid-topics-portal}/p/devhub/api-examples/search-bar:FluidTopicsRouterService.navigateTo("/p/devhub/api-examples/search-bar");