on 07-17-2006 5:08 PM
Hi,
how can I programnmatically navigate to another URL within a WD-Application? I don't want to Logoff (and destroy the logon ticket - the ticket should stay valid).
I can do it with a LinkToUrl-element, but how can I do it in my Code? I need this functionality in an ActionButton.
kr, achim
hi achim,
you need not create an outboundplug. Just create an action for a button. In <b>onAction<actionname></b> method write the below code. it should work.
<b>wdthis.wdGet<<i>windowname</i>>InterfaceviewController.wdFirePlug("www.sdn.sap.com");</b>
regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi achim,
u have go through this following link...
hope it helps u...
Hi all,
I have the same problem with Web Dynpro for ABAP.
I created a suspend plug and a resume plug on the MAIN window.
Additional I created a button on my view. Which logic has to be added to navigate to an external application?
Thanks for your help.
Best regards
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Achim,
Have you tried using the suspend/resume plug technique? There is another thread by Etnaya which describes how it works.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all the anserw, unfortunately none of them work for me...
Armin: your code creates a new window, but I want to use the same window (like a LinkToURL would do)
Gopi: If I create a OutboundPlug and fire it, I receive a error message that no link is attached to the Outbound plug
Mukesh: the app runs not in portal
Thomas: we use Netweaver SP04, I suppose there are no suspend/resume plugs available yet.
kr, achim
Hi Achim,
Try this
WDPortalNavigation.navigateAbsolute("ROLES:Pathof theIview",WDPortalNavigationMode.SHOW_INPLACE,(String) null,
(String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Parameter=parametervalue");
kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In onAction<buttonname>
write the below code.
wdthis.wdGet<windowname>InterfaceviewController.wdFirePlug("www.sdn.sap.com");
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use
IWDWindowManager.createNonModalExternalWindow(String url, String title);
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.