on 03-28-2007 6:21 AM
I need to provide an link (with some dynamic value) in the email to point back to the iView. I can point to the iView with <i><host>/irj/portal?NavigationTarget=navurl://195597fb5bb1b7f92c2e2055f8d4e637/</i> but not any additional parameters in the short url.
<b>Can anyone help me how to pass parameters along with the Short URL?</b>
I have this problem too , please I wanna know how you can solve. I need generate a link that contain a Short Url and need pass parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muthaiah,
This is similar code you have to do it.i hope with help of api you get perfectly.
String objname = wdComponentApi.getDeployableObjectPart().getDeployableObjectName();
String partname = "SecondCompApp" //this is the name of the iview you get from properties.
WDDeployableObject wdDop="null";
try{
WdDop = WDDeployableObject .getDeployableObjectPart(deployableObjectName,partname,WdDeployableObjectparttype.APPLication)}
catch{}
//shld surrounded in the try block.
String url=WDUrlGenerator.getApplicationURL(WdDop);
please reward points if you found helpful.
Thanks&Regards,
Aruna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muthaiah,
if you want to create any dynamic url in the view you can use WDDeployableObject .
if you want me to post code snippet please le me know.
Thanks®ards,
ArunaGundelli.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muthaiah,
Is this IView a Web Dynpro IView. If yes then you can easily do this by simply adding a Url parameter to the default inbound plug of the interface Controller of your WD application.
You can refer to this link: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webdynpro/inter-application-navigation%20in%20web%20dynpro.pdf">Tutorial 15</a>, <a href="/people/jochen.guertler/blog/2004/11/23/web-dynpro-best-practices-how-to-navigate-between-different-web-dynpro-applications Blog</a>
Do reward points if it helps.
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muthaiah,
I still dont understand whats the problem with this approach. As per my understanding you want a link in the Email to point to a Web Dynpro iView. Now on clicking on the link a URL parameter will be passed which you can fetch in the Interface controller and can pass it to the dispatcher view (as you told you application has). In this view on the basis of the URL parameter (say View name) you want to delegate to a coressponding view.
Regards
Sid
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.