In a perspective application, page.props.path inside the PageStartup script is always returning the base URL "/".
My application has 2 pages as shown.
There is also a PageStartup Session Events script with some conditional logic based on page.props.path.
There are 2 button components with events script is configured to navigate between these 2 pages.
But in the browser session, when I am swapping between these 2 pages, the page.props.path always returns "/" . Only when I launch the page URL directly from the designer pages interfaces, I see the "/cncmetricsview" for the path.
Anyone experienced similar issue? Any clue on what is going wrong in this case?