Hi Team,
I am facing an issue while trying to navigate between two global pages using the ap.navigate function in the alpha sandbox-beta environment.
Although I am able to successfully fetch the target page details using ap.pages.getGlobalPages() , the navigation is not working as expected.
Code
const pages = await ap.pages.getGlobalPages();
const targetPage = pages.find((el) => el.name === "Policy Schedule");
await ap.navigate({
page: targetPage,
pageId: targetPage.pageId,
name: targetPage.name
});
Behavior
- Before click:
.../navigation?projectId=...&menuId=...
- After click:
.../navigation(params lost, no navigation)
Alpha Workbench
Please let me know if any additional information is needed.
Thanks & regards,
Abilash N
