on 11-06-2006 9:07 AM
Hi,
I have two applications <b>existing in different projects</b>. How do I navigate from App1 to App2. I cannot use Inter Application navigation Technique as both the applications are not in the same Project.
Will This API be of any help:
wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
Or should I rely on wdPortalNavigation() as both applications would be on Portal.
Regards,
Murali.
Hi Murali,
You can use the following code.
Make sure you replace <com.sap/applsdflights> with your component path name and <FlightApplication> with your application name.
Map urlParameters = new HashMap();
try {
WDDeployableObjectPart deployableObjectPart = WDDeployableObject.getDeployableObjectPart("com.sap/applsdflights", "FlightApplication", WDDeployableObjectPartType.APPLICATION);
String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(urlToTargetApp, "Flights", false);
window.open();
} catch (WDURLException e) {
msgManager.raiseException(e.getLocalizedMessage(), false);
} catch (WDDeploymentException ex) {
msgManager.raiseException(ex.getLocalizedMessage(), false);
}
Thanks & Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muralidaran
Regardless your components existing in different projects you can use Public Parts to reference first development component from the second one.<a href="http://help.sap.com/saphelp_nw04/helpdata/en/04/43f00d8f027746a1e23267f22e8c71/frameset.htm">See help on Public Parts in Webdynpro components</a>
Based on such a reference you can include the second WD component as a navigation target from the first one.
BR
Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.