Skip to Content
avatar image
Former Member

How to pass parameter to URL Iview within a link

Hi,

I have an URL iView that must show a web application. On parameters definition, I have added parameters of user-mapping, and these works fine. I have to call these Iview from a link on other iview, and I need to send a parameter to the URL iView, to this add it on the URL to generate de final URL.

For example:

URL iview definition:

URL: http://myapp.com

Request Method: POST

Parameters:

username: Mapped User

password: Mapped Password

Property editor:

Parameters to Pass from Page Request (for URL Isolation): *

The page where this iview is included, is configured as "Isolation Method: URL"

Then I call URL iView from other iview, with PCD location, and I add the parameter "course" at the final of the link:

http://hcm.local:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.mycomp.content!2fcom.mycomp.cc_pages!2fcom.mycomp.cc_lso!2fcom.mycomp.cc_ess!2fcom.mycomp.page.elearning?course=50103040

I need that URL iview, get this parameter, and resend it with POST method (as done with username, password) to the customized URL (http://myapp.com).

I have been looking information about isolation method, and I believe I have all well configured. Anybody know how can I make it?

Thanks in advance,

Javier

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 13, 2011 at 09:56 AM

    Hi,

    this is just a guess. I think the problem here is the POST method you are using.

    The server ignores the request paramter because a for POST request the paramters are expected to be in the body.

    So instead of using just a link with an URL, you could try to use a form with a hidden field.

    Put the Iview url into the form action and put your parameter to pass into the hidden field.

    For the link use a javascript function that submits the form. I think that will work.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      How did you solve that?

      I've an URL iview with "*" as parameter forward, but the additional parameters never get down to the url (fetch with GET) requestet from the destination server....

      Thanks Martin