We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to update navigatio after cloning page

archie5
Tera Guru

Hi, I have cloned an oob Portal page A to page B and created page route maps to point all widget from A to B. now how do I redirect the navigation? Suppose some menu item/widget/button were leading users to page A, how will these route to page B now? Also how will I find these item/widget/button that were leading users to page A in the first place?

4 REPLIES 4

Raghav Sharma24
Giga Patron

@archie5 Page route map should take care of this as well? isn't it? did you try testing after creating the page route map?


Please mark the answer correct/helpful accordingly.

Thanks for your response. Page route didn't take care of the navigation and that's what the SN documentation also says. 

@archie5 On page A add a widget with no HTML OR Server code but just client code to redirect to pageB.

 

Client Controller:

window.location.href=ā€œ/sp?id=pageBā€

 

This will take care of all navigations.

 

Replace sp with tour portal suffix and page id of B.


Please mark the answer correct/helpful accordingly.

@archie5 did you get this working?