on 05-20-2008 10:50 AM
Hi All,
I have an Url ivew which is having the path http://xxx:www/yyy/. The iview name is 'EmpUrl'
I have an webdynpro application which will get the ' user ' logged in.The iview name having this webdynpro application is 'EmpWD'.
I am using WDPortalNavigation.navigateAbsolute in the webdynpro application to navigate from 'EmpWD' to 'EmpUrl'.
Now I want the url iview to point to this position http://xxx:www/yyy/user.pdf
I am able to get the user from the webdynpro application.
I don know how to append the url in the url iview.
Is there any other way to get the user directly in the iview itself?
Please provide suggestions.
Best Wishes,
Idhaya R
Hi Idhaya,
I did not get the concept of calling URL iView from Web Dynpro application.
Better way you can directly call the URL from WD application and then pass the User in the parameters, the way we normally send it in HTTP request.
What is the reason behind using URL iView. Try redirecting directly, it will work.
Regards
Kedar Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kedar,
- I dont want the user to see the url which I am using
- I want it to be shown in the place of iview. I am using <b>WDPortalNavigationMode.SHOW_INPLACE</b> to achieve this.
When i am trying to open an url in webdynpro application it is opening in a new window.
Please give suggestions how to achieve this.
Best Wishes
Idhaya R
Ohh..
I got your problem.
I can suggest another approach in this case.
As you have created URL iView already, we can use that.
In Properties list of iView there is proerpty names Quick Link. Edit this property and give some name say "google"
Now in your code instead of giving direct URL use following code at URL place
"http://<SERVERNAME>:<PORT>/irj/portal/google" and in the Title place use "SAP Netweaver Portal" instead of "Google"
guess this solves your problem.
Regards
Kedar Kulkarni
reward points for useful answers
Hi kedar,
I want to change the url dynamically....
If I am using http://<SERVERNAME>:<PORT>/irj/portal/google it is pointing to the url iview.
I want to change the url in the url iview dynamically based on the output from the webdynpro.
Please give suggestions.
Best Wishes
Idhaya R
Hi Idhaya Ramadurai,
You can change the url of the url iview at runtime.
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/45/85087d755d1f88e10000000a1553f6/frameset.htm
Thanks,
Padmaja
Edited by: Padmaja Pedapudi on May 20, 2008 2:00 PM
Hi Padmaja,
how to pass the parameter from webdynpro to portal ?
I tried to pass the forcedURL parameter this way from webdynpro but no effect
The intial url to the iview is pointing to some other website, say Google.
<b>
WDPortalNavigation.navigateAbsolute("pcd:portal_content/com.voltas.Testid/com.test.Urlid",WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.NO_HISTORY,"forcedURL=https://www.sdn.sap.com/irj/sdn");
</b>
Best Wishes,
Idhaya R
hey idhaya
basically a portal makes use of par file called "com.sap.portal.login.par"
to fetch the user information weather its a valid user or not .
now in ur requirment u can make use of this par file to fetch the user name.
hope that was useful.Reward if so.
thx & regards.
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.