Skip to Content
avatar image
Former Member

Web Dynpro iView - how to pass URL parameters?

I have a Web Dynpro application that is housed in the Enterprise Portal. We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email. As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data.

The Web Dynpro has a startup plug parameter - call it 'id'.

I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine. However, when I try and do the same via a Roles-based URL, the parameter does not survive. I've tried two different methods:

http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234

and

http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234

neither of which work.

is there a way to do what I'm trying to do? Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 28, 2006 at 07:23 AM

    Hi,

    please try the following:

    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>

    The value of the DynamicParameter value must bei encoded.

    For details please have a lool to

    thishttp://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this>

    This book will be also available in English soon.

    Best regards

    Jochen

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2006 at 07:42 AM

    Hi Ken

    Try to edit property "Parameters forwarded to Webdynpro" of your Webdynpro iView by placing the name of the parameter there. Try to put "app.id" in the property.

    BR

    Sergei

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 28, 2006 at 08:08 AM

    Hi Ken,

    Take a look at need-example-for-using-query-string-parameters-in thread.

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 28, 2006 at 08:54 AM
    Add comment
    10|10000 characters needed characters exceeded