cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate from Web Dynpro application to an URL iView using parameters

Former Member
0 Kudos

Hi all,

I have a problem navigating from a Wed Dynpro application to an URL iView with parameters. For the navigation, I use the WDPortalNavigation.navigateAbsolute() method. The navigation works fine, unfortunately any parameter that I pass to the iView URL is ignored.

Here is the code I use:

WDPortalNavigation.navigateAbsolute(

"ROLES://portal_content/rack_visualization/RackView",

WDPortalNavigationMode.SHOW_INPLACE,

WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,

"param=aaa");

The RackView iView is based on the "iView URL" template, and it's target is also a Web Dynpro application, and I expect the parameter values from the Web Dynpro application could be passed to the target URL as the query string. Unfortunately the parameter passing doesn't seem to work.

Any help would be greatly appreciated!

Thanks,

Bean

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

have a look at these links:

<a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=52&threadID=134319&messageID=1508934#1508934">https://www.sdn.sap.com/irj/sdn/thread?forumID=52&threadID=134319&messageID=1508934#1508934</a>

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f7/f289c67c759a41b570890c62a03519/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/f7/f289c67c759a41b570890c62a03519/content.htm</a>

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/2a/7a754297fdd142e10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/2a/7a754297fdd142e10000000a1550b0/content.htm</a>

Reward points for helpful answers.

Best regards,

Gianluca Barile

Former Member
0 Kudos

Hi,

What I want to know is that how can I pass the param values from suorce Web Dynpro application to the target Web Dynpro application, because in the URL iview, I can only set the target url without query parameters, the parameter values must be gottern in run time.

Regards,

Bean

Former Member
0 Kudos

Hi,

first of all you will attach your WD application to 2 iView into EP.

After, to pass dynamic parameters with an iView link, please try the following:<PortalServer>/irj/index.html?NavigationTarget=pcd:portal_content/<

iView>&DynamicParameter=param%3Dvalue

This should pass the parameter param=value to the iView.

To pass more than one parameter, you need to URL encode the '&' and '=' characters

within the DynamicParameter string, e.g.

<PortalServer>/irj/index.html?NavigationTarget=pcd:portal_content/<

iView>&DynamicParameter=param%3Dvalue%26param2%3Dvalue2

Best regards,

Gianluca Barile

Former Member
0 Kudos

Hi,

I think it's OK if both of my 2 WD app locate in the same server. But

my target WD application only can be embeded as an URL iview, becaused it's located in the another server. So how could I pass the runtime value by the URL iview?

Regards, Bean

Former Member
0 Kudos

Hi Bean,

I'm sorry but your initial question (and the thread title) doesn't remark the fact that the location of 2 WD are 2 different servers.

I've answered to your initial issue. If the problem is different I suggest you to assign rights points in this thread (and closing it) and open another one in wich others people can help you.

Thank you and Regards,

Gianluca Barile