Page Navigation Basics
Hi WebDyn Pro's,
I'm new to WebDynpro. I have a couple of basic questions about page navigation. I have simple requirements. I need to build an overview page with links to different portal roles/tabs.
I see many examples of page navigation, but I don't see how to exactly incorporate it into a WebDynpro. Where do you add this navigation code into a WebDynpro? Do you attach the code to a urlLink element somehow?
Nikolay Entin replied
If you need a concrete example how PortalNavigation code looks like, here it is:
WDPortalNavigation.navigateAbsolute( PCD_ID, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, null);
where PCD_ID looks as:
"ROLES://portal_content/other_vendors/specialist/<your company folderid>/roles/<your pcd role id>_showcase/<and here full path to the tab/page of PCD in your pcd role definition>"
Of course, in your case the structure of id might look different - according to your PCD.
You may copy the PCD_ID from PCD editor - just copy ID from the object reference in the role (just don't forget to add "ROLES://" in front of it)...