Navigation not working for global pages (Alpha)

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=...

Please let me know if any additional information is needed.

Thanks & regards,
Abilash N

@irfanali @Paul_Thomas @Sam can you please help

Hi Team,
Any updates?

Hi @Eldho,
Any updates team..

@abilash.n
I tested this from my end as well and couldn’t navigate between global pages. Navigation works only within task pages. This seems intentional, as allowing global-to-global navigation may result in unintended actions. Currently, the implementation supports navigation only within task pages.

@vaibhav @irfanali Could you please confirm if this is correct? If there is any way to achieve this, kindly share it here.

We got the solution, please try this
ap.navigate({
page: {
menuId:“YOUR_PAGE_MENUID”
}
}

1 Like