cancel
Showing results for 
Search instead for 
Did you mean: 

portal link to web dynpro form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member182374
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Omri,

Step 1 is the crucial information I am looking for.but the link shown by you has little information.

Finally how did you acheive this.

Can you pls share more information

Thanks,

Ashok

Answers (0)