Hi All,
I am trying to catch url parameters with the following code.
PARAM1 is the parameter name.
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter(); IWDRequest request = protocolAdapter.getRequestObject(); String RESPONSIBLE_NO = request.getParameter("PARAM1"); wdComponentAPI.getMessageManager().reportSuccess(PARAM1);
The above code works fine if I use the following url for calling the WD application
http://<hostname>:50000/webdynpro/dispatcher/local/MyWDApp/MyWDApp?SAPtestId=10&PARAM1=123
I am able to get the passed value as output for PARAM1 as 123 in my output.So far this is good.
But I created a View based on the above WD application an trying to call the iView using Navigation Target.Now I am not able get url parameter value.I used the following url
http://<host name>:50000/irj/portal?NavigationTarget=ROLES://portal_content/POC_View/Roles/My_Folder/My_view
&PARAM1=123
I require to pass the paramters with the above url as I need to call this iView in IFRAME
Regards,
Santhosh