cancel
Showing results for 
Search instead for 
Did you mean: 

Loading Different Pages using eventing

Former Member
0 Kudos

I built a iview that lists a tree node. I want to be able to load up different pages with a different set of iviews when I click on a different node. Currently I have it working with "eventing" to update the parameters for each iview.

What do I need to call to load up a different page?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I guess I am looking for something similar to the detailed navigation on the left. How would I be able to build something that works off the same idea.

Former Member
0 Kudos

You can use the EPCF (client side eventing) method doNavigate() to navigate to a particular page. Locate the page in the portal using the role editor and use the string as the argument to

<A HREF="myLink" onclick="return EPCM.doNavigate ('ROLES://portal_content/myfolder/myrole/workset1/testpage1')"> This is Page 1</A>

Details can be found in the document:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/enter... portal client.pdf

darrell_merryweather
Active Contributor
0 Kudos

Alex

What you could do is have an iView which basically contains an iFrame. This would be the container for the pages that you wish to display. This container has some client side code so that when an event is raised it changes the src attribute of the iframe. When you click on the node in the tree, it raises the event and passes the URL that is required for the page (The url can be generate using the URLGenerator).

I hope this helps

D