cancel
Showing results for 
Search instead for 
Did you mean: 

Get parameter from iview

Former Member
0 Kudos

Hi,

Can anyone let me know how to get the Parameter ID value from Iview.

I am trying it this way and its giving null.

String Path = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARA-ID");

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I might be misunderstanding your question, but it sounds to me like you want to get the ID (or path) of the iView that starts with "pcd:"

If that's the case, go into your iView and under Application Parameters put PARA-ID=<IView.ID>

Now in your code, you should be able to use the same code you have. (Although, as the person who replied before me mentioned, that method is deprecated, so you may want to use their suggestion).

I admit that I've never actually used that <IView.ID> before, but I've read about it, so I'm assuming it will work.

chintan_virani
Active Contributor
0 Kudos

Pankaj,

I think its deprecated with NW2004s. So try using

WDProtocolAdapter.getProtocolAdapter().getRequestParameter("<paramter-id>");

Chintan