cancel
Showing results for 
Search instead for 
Did you mean: 

How to Pass Paramets to JSPDynpage

Former Member
0 Kudos

Hi

I am planning to create JSPDynpage to display an image.

The JSPDynpage should take image name or url as a parameter while creating iview using JSPDynpage.

So please let me know how to add a dynamic paramet for the JSPDynpage which will enter by user while createing iview.

Please help me in this regard.

Thanks

Mukesh

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi

You can add a iView parameter in portalapp.xml

Check this link

http://help.sap.com/saphelp_nw04s/helpdata/en/09/c8af42a6f6cb6ae10000000a155106/frameset.htm

Example:

<component name="UploadViewIn">

<component-config>

<property name="ClassName" value="UploadViewIn"/>

</component-config>

<component-profile>

<property name="path" value="/image">

<property name="personalization" value="no-dialog"/>

<property name="description" value="image url"/>

</property> </component-profile>

</component>

This add a property path in iview

regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mukesh,

You can set parameters when creating iView that you can receive it from the request parameters in your portal component i.e. JSPDynpage.

Regards

Mukesh

DeeptiChavare
Active Participant
0 Kudos

Hi,

Can you further explain your requirement? How this parameter will be decided? Is it accepted from user in some other application or stored in database/KM?

There is a link explaining how to pass parameter to JSPDynpage:

http://help.sap.com/saphelp_nw70/helpdata/EN/d0/d4a441cd47a209e10000000a155106/content.htm

Regards,

Deepti