on 11-28-2006 5:46 PM
Hello everybody,
my WD application gets started from the UWL (workitem). How can i get back to the UWL from my WD application?
regards,
Markus
This is what i do to find the current portal server the application is running on.
WDDeployableObjectPart d = wdComponentAPI.getDeployableObjectPart();
try{
String url = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getApplication().getDeployableObjectPart());
wdContext.currentContextElement().setHostName(url.substring(0,url.indexOf("/", 7)));
}catch(WDURLException e){
}
The above code sets the context element with the current hostname for example,
<b>http://hostname:port/</b>
Most of the times the rest of the url for uwl should be similar across all application servers, which could be concatenated to the above path.
Hope this helps
Peace
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
If the wd application is opened in a new window, you can close the window, so the user sees the work item screen again(see this <a href="https://forums.sdn.sap.com/click.jspa?searchID=210649&messageID=2319340">thread</a> for help on how to do it)
If the wd app is opened in the same window, you can go back to the uwl main page by calling the URL of the uwl iview through exit plug.
Hope that helps, cheers
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way would be to create a link-to-url element in WD and point the reference property of this element to the complete URL of the UWL component.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.