on 06-02-2011 11:33 AM
Hi,
I am using a generic App-integrator iview to enable the user to access a third party site from portal.
The url (kerberos) is of the format
http://<servername>:<portnumber>/irj/portalalias/quicklink?<DynamicParameters>;
The dynamic parameter is being provided by a custom exit.
When the user clicks on the link, the dynamic parameter gets furnished, and the user is taken to the required site, but in the address bar, the third party URL doesn't reflect i.e. the portal URL remains there throughout.
The requirement is to get the URL in the address bar to change to the third party site URL after redirection.
Any ideas on how it can be done?
Thanks,
Prerana
PS - I am pretty generous with points
If I get this right, the URL:
http://sapportal:port/irj/portal/quicklink -> points to an AI iView (URL iFrame) that points to another server and the DynamicParameter passed to the portal should also be passed:
http://anotherserver/<DynamicParameter>;
The AI iView is configured to accept and to pass the parameters? The dynamic paramters get passed to the iView - can be checked with firebug.
br,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prerna,
Are you making SAP BW Report iview?
If the requirement is: Open the required site on click of a link, which passes a parameter dynamically and This URL shall be displayed in the address bar?
I am not sure where is app integrator iview helpful for this?
There are ways to achieve this.
Help me understand your problem.
Regards,
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prerana,
the best way would be to use the javascript, top.location.href = 'URL'.
suppose the dynamic parameter is for example: 'abcd'.
assuming that you have 'abcd' available to be appended to the URL, in the action even of the user click( upon which he/she shall be redirected to a third party website).
Step1: create a HTTP request object (not IPortalComponentRequest).
Step2: post a javascript forcing the URL to change.
Step3: Append 'abcd' to the above URL.
Step1: Write a small Abstract portal component, inside the doContent, get an http request object.
- include 'servlet.jar' to your project.
-from the IPortalComponentRequest, create the HTTP reqeuest like.... request.getServletRequest(.....).
Step2: please note that SDN thread is not allowing me to post the js here. kindly search for this particular thing(top.loation.href).
Step3: Append the dynamic parameter
Thanks,
Jakes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you need to display redirection url in address bar, you have to call link from hyper link. in you case since you need to pass some parameter, this wont be a solution.
You can do one thing. in you third party site, you can write a script to set windows.location on page load. so it will replace portal url with third party system url.
Regards
baby
Hi,
Check if this Thread helps to solve your problem...
Check this link
Regards
Tushar Shinde
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.