on 01-06-2008 2:37 AM
Dear All
The requirement goes like this:
We are developing a form in web dynpro and integerating into portal as an iview.
Whenever the user submits a new form we should send a link of the form in portal to the user as email (with some parameters like form id for the webdynpro to open the correct form)
How can build this link to the portal form dynamically and send it?
As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
Any help will be greatly appreciated.
PS : Portal and web bynpro are on different system..
Specs : NW04 sp18
Hi,
1) See this for getting host & port:
2) For getting the iview path:
Add the following to the 'Application Parameters' of the iview
iViewPath=<IView.ID>
From your Web Dynpro code you can get the iview path:
iViewPath =
WDWebContextAdapter.
getWebContextAdapter().
getRequestParameter("iViewPath");
Now you can build the url:
http://<server>:<port>/irj/portal?NavigationTarget=ROLES://<iviewPath>;
You get server/port from (1) and iviewPath from (2).
I don't remeber if iviewPath will contain pcd://, if yes then truncate it.
Regards,
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.