cancel
Showing results for 
Search instead for 
Did you mean: 

Send portal screen parameters to one absolute url in a different domain

Former Member
0 Kudos

Hi Experts,

We have a requirement wherein we have to send some screen parameters of the portal application to one url which is in a different domain.

We are currently using Iframe UI element and binding the source property of the UI element to a string attribute wherein we have set the url and the parameters.

The portal application is a webdynpro java application. The only requirement is to send the screen parameters to one particular url and nothing else. We do not want to create any html files and moreover we also do not want to make Iframe ui element visible in our webdynpro application.

Can you please suggest how can I acheive this?

Thanks & Regards,

Anurag

Accepted Solutions (0)

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

you can add the portal parameters to the target application URL

target app : http://some.com/application.jsp&param1=myvalue&param2=value

read URL parameters in Dynpro:



WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param1");

Lemme know your requirement passing to URL or getting portal params

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil,

My requirement is to pass the portal screen params to one url(say for eg. www.google.com).

We have to pass these params at different events such as when the page loads, when the user performs any action etc.

Basically, we have to capture each and every event that occurs on the page and need to send those params accross to that url.

How can we achieve this functionality in the best possible way???

Thanks in advance for your reply.

Regards,

Anurag

nikhil_bose
Active Contributor
0 Kudos

It is possible. In the mentioned example, www.google.com, the parameters could be appended to the url and send to the target application.

for e.g. www.google.com?eventID=102384&lock=on

For passing to target, what does it mean "each and every page change"?

1) We can call the method which passes values to the other app/service on each and every action happens in the page.

or

2) the same could be done on every server-round trip.

could you please specify the requirement?

Former Member
0 Kudos

Hi

You want to send the parameter on each and every action on View then try to send the URL parameter in Modifyview because it is called evey time there is any change in View...

Thanks