cancel
Showing results for 
Search instead for 
Did you mean: 

open application in headerless portal

0 Kudos

Hi,

I would like to open an WD application in the portal with a link.

And I would also like the portal to be headerless (without TLN).

I tryed to add ?NavMode=3 to my link.

I also tryed to modify the properties of the page in which the WD aplication is so that the "Launch in new window" is "display in separate headerless portal window" .

But with no chance.

Any idea how to have the portal headerless ?

(for information, here is the link: http://server:port/irj/portal/a1s?NavigationTarget=ROLES%3A//portal_content/com.sap.pct/com.sap.pct....

Thanks and regards,

Marie-Pierre

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Marie,

try this code:

IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"DateCustDialogWindow"); //.show();

win.setTitle("Transaktionsmanager");

win.setWindowSize(600,600);

win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);

win.removeWindowFeature(WDWindowFeature.STATUS_BAR);

win.removeWindowFeature(WDWindowFeature.MENU_BAR);

win.removeWindowFeature(WDWindowFeature.TOOL_BAR);

win.show();

This removes all those window features, that make the window "headerless".

regards,

Christian

0 Kudos

Thanks Christian,

I have the window headerless (not using the same code as I'm coming from ABAP), but what I would like is PORTAL headerless (no TLN).

Former Member
0 Kudos

Hi,

Are you using

public static void navigateAbsolute(

String navigationTarget,

WDPortalNavigationMode mode, String windowFeatures,

String windowName,

WDPortalNavigationHistoryMode historyMode,

String targetTitle,

String contextUrl,

String businessParameters,

boolean useSAPLauncher)

then mode has to be set to WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL

Regards

Ayyapparaj

0 Kudos

Hi Ayyapparaj,

no, I'm not using navigateAbsolute. The link is opened from an ABAP application using wd_comp_controller->wd_get_api( )->get_window_manager( )->create_external_window(url,...).

Regards,

Marie-Pierre