on 04-08-2011 11:08 AM
Hi All,
Our requirement is to pass values from Portal web dnpro iview to the underlying web dynpro application.
The parameters which I want to pass is : iview id.
My question is that whether you have to pass the entire hardcoded PCD iview path in the application parameters or
is there any way by which we can get the ID dynamically.
In one of the SDN posts related to this..they have mentioned about iViewPath=<iView.id> in application parameter.
But when I use this method, I get '<iView.id>' as it is in the web dynpro application and not the actual iview id.
Please help me with this.
Regards,
Radhika
Hi,
Could you explain a bit more what you want to achieve?
First of all, you need to check whether the WebDynpro app is running in the portal using the WDPortalUtils.isRunningInPortal() method, since it can perfectly run outside the portal as well, and therefor has no knowledge of PCD locations whatsoever.
Secondly, the PageBuilder's CLient API (see http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b4/adbf40b87e0366e10000000a1550b0/frameset.htm ) has a javascript function to retrieve the iViewId. Since there's no Java equivalent, this makes me think the iView ID (which is relative to the user's roles, worksets and pages) is constructed at the client, and the WDJ app might have no knowledge about it
However, is someone can provide some more details or a solution, I'm happy to know about it as well
Best,
Robin van het Hof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What we want to achieve here is we want to get the iview id dynamically by passing it through portal iview to underlying web dynpro.
The values will be passed using the iview's property application parameters and will be received by the web dynpro application in its onPlugDefault() method.
What should I write in the application parametrs to get the iview id instead of writing the hardcoded value of iview id into it.
Like for example right now I have given application parameter in the iview as 'iViewPath=<iView.id>'. This value i.e. <iView.id> is passed as it is to the wweb dynpro application. I want an expression by which I will get the actual iview path like
pcd:portal_content/users/...............
Regards,
Radhika
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.