Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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?

Thanks,

Kevin

Former Member
Former Member replied

Hi Kevin,

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

Best regards,

Nick

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question