cancel
Showing results for 
Search instead for 
Did you mean: 

WD application in portal

Former Member
0 Kudos

Friends,

I have a webdynpro application , i have created a iview (myIview)of this application in portal.

I have created 2 pages in portal.

1.Page-1 contains only 1 iview and that is myIview.

2.Page-2 contains 2 iviews and they are myIview and some other iview.

Now i want to enable a button in webdynpro application only in Page-2 and not in Page-1.

Does anybody know how i can do this ??

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Baskaran,

You can do this using URL parameter. You can set URL parameter by WD iView configuration. Read URL parameter and set visibility context attribute (with type WDVisibility) to appropriate value (NONE, VISIBLE) in wdInit method of your view and bind this attibute to visibility property of button.

Best regards, Maksim Rashchysnki.

Former Member
0 Kudos

Hi Maksim,

Thanks for your response,can you please elaborate your solution.

I am not understanding this point "You can set URL parameter by WD iView configuration."

Can you please guide me here.

former_member182372
Active Contributor
0 Kudos

Hi Baskaran,

http://help.sap.com/saphelp_nw04/helpdata/en/2c/00584289e59041e10000000a1550b0/content.htm

Step 5.d:

<i>

Application Parameters

If your Web Dynpro application has startup parameters, you can define specific values for this iView.

Application has two parameters: par1 and par2

The parameters are specified as follows:

parameter1=value1&parameter2=value2

</i>

So, in your case it would be showButton=true or showButton=false

Best regards, Maksim Rashchynski.

Answers (0)