cancel
Showing results for 
Search instead for 
Did you mean: 

EP6: Dynamic Navigation - Eventing

Former Member
0 Kudos

Hi everybody,

I want to navigate to the same page/iView from my dynamic navigation nodes (which implement INavigationConnectorNode). The dynamic navigation shows a list of customers. Clicking on one of them should show the same page/iView, obviously for different customer ids.

Trying the simple approach to append the parameters ("....?customerid=4711") to the launchURL does not work.

I assume the whole concept works differently: do I have to implement getPRTEvent() (or maybe getJScript() or ..) to parameterize my navigation event ?

I cannot find any info on that subject, so I'd be really grateful for ideas and hints.

Cheers,

Heiko

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Heiko,

try this:


link.addText("link test");
String navigationAction ="EPCM.doNavigate('" +url+ "',0)";
link.setOnClientClick(navigationAction);

Regards.

Altafin

Former Member
0 Kudos

Hi Altafin,

thanks for your reply, unfortunately this does not work: you assume that I build an iView and thus can control the HTML output. What I do, though, is to dynamically build a navigation structure (not in an iView but in a Navigation Connector). There I only have a couple of fields I can set, most notably the "launchURL". The standard Portal Navigation Service takes my data structure, merges it and forwards it to the (standard) detail navigation iView.

In the meantime I have been able to solve it (actually thanks to Sven Kannengiesser): I put the following into my launchURL:

"/irj/servlet/prt/portal/prtroot/<escaped pcd url>?myparam=4711"

where the escaped pcd url looks something like

"pcd!3aportal_content!2fmyfolder!2f .... !2fmypage"

That works fine.

Cheers,

Heiko