cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Page Navigation Basics

Former Member
0 Likes
470

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

View Entire Topic
Former Member
0 Likes

Kevin,

You need to create LinkToAction controls, then action per every UI element, and, finally use Protal Eventing API to fire portal navigation events from corresponding action handlers.

VS

Former Member
0 Likes

Thank you for your answer.

I don't have it working yet, because I'm not able to fully understand all of your instructions I suppose. When I click on the link, nothing happens.

I added a LinkToAction control on my View. And I created the necessary WDPortalNavigation.navigate code in the new method created.

Here is the part I suppose I don't understand. How do I "use the Portal Eventing API to fire portal navigation events"? Can you describe that a little bit more detail?

Thanks,

Kevin

Former Member
0 Likes

Kevin,

Try the following tutorial, it contains section on portal eventing:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial%20on%20integrating%20web%20dynpro%20in%20portal%20-%2019.htm">Integrating Web Dynpro in Portal (19)</a>

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Former Member
0 Likes

Thanks again for the feedback.

I actually did read that tutorial prior to posting my question. Unfortunately, I find that it gives such high level information, it is not helpful to me.

Kevin

Former Member
0 Likes

Kevin,

I'm not familiar with this topic, my advise is to search SDN for <b>WDPortalNavigation</b>, there is 27 links total, among them there are 5-7 PDF tutorials -- try find information there.

VS

Former Member
0 Likes

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