on 07-08-2008 10:32 AM
hi,
if i am having url of 2nd application and on click on any link of 1st application view if i want to open the 2nd applicaiton through url which i am having , how its possible?
Please help me out..
thanks in advance.
Saurin Shah.
I) use LinkToURL UI element,
set reference property to 2nd application url
set target to _TOP
II) create an Outbound plug of type "exit/suspend"
create a parameter "Url" //case sensitive
onAction() of UI you want to do navigation
String urltoapp = "http://Url_Of_SecondApplicatoin";
wdThis.wdGet<Component>InterfaceController().wdFireToSecondApplication(urltoapp);
// firing interface out plug
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use this code to get Url of deployed application.
Put this piece of code in wdDoInit() of View Controller of desired application
String appURL = null;
try {
WDDeployableObjectPart currentAppPart =wdThis
.wdGetAPI()
.getComponent()
.getApplication()
.getDeployableObjectPart();
appURL = WDURLGenerator.getApplicationURL(currentAppPart);
} catch (final WDURLException ex) {
wdComponentAPI.getMessageManager().reportException(
new WDNonFatalException(ex),
false);
}
Create PlugOut and pass a parameter named 'URL' of type "String" in Interface Controller of application
Rest use nikhil's code
Mandeep Virk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are two ways in which you can do this:
1. Use portal navigation:
Refer to the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm
2. Create and external window with the URL of second application. Refer to the Tutorial of "Dialog boxes in Web Dynpro" for this.This tutorial is availbal on sdn.I currently dont have URL for it.
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just i am explaining Lakshmi Narayan's
After insertion of LinkToURL element into the View.
for "reference=<give here your application URL>
for property
reference=https://www.sdn.sap.com
and for property
text = <give the name what ever you want here>
and the same can be done using
"LinkToAction" element also.
Thanks,
RameshBabu.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If both applications are deployed in same server in seperate projects, then you can make use of LinkToURL UI element.
Insert on LinkToURL element in 1st app and bind the 'reference'
property to URL of 2nd App.
Give sample text to 'Text' property
Or else you can use concept of InterApplication Navigation available in Help of NWDS
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.