cancel
Showing results for 
Search instead for 
Did you mean: 

Need to open the iview in the same window using the navigateObsolute method

Former Member
0 Kudos

Hi Guys,

Iam facing a problem using the Navigate Obsolute method. I want the target iview to be displayed on the same window rather than the seperate window. For this I have selected the WDPortalNavigationMode as SHOW_INPLACE. Still the target iview is displayed on different window.

The code I have written is

WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.accenture.Radar/com.accenture.radar.ProjectsIView",WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null);

Could someone help me out.

Thanks,

Suvarna.

Accepted Solutions (0)

Answers (5)

Answers (5)

Ranjeet0702
Active Participant
0 Kudos

Hope this will help you:

=========================================================

Defining WorkProtect Mode Centrally

You can change the following settings:

· Standard navigation behavior for unsaved data in portal applications

· Personalization by the end user

· Appearance of the newly opened window if WorkProtect mode is active

1. Choose System Administration ® System Configuration ® Service Configuration.

2. Choose Portal Catalog ® Browse.

3. Navigate to the epcfloader portal service and change to edit mode.

The epcfloader service file is in subfolder Services of application com.sap.portal.epcf.loader.

4. Define values for the following properties:

Property: workprotect.mode.default

Value Meaning

1 Protect unsaved data by opening a new browser window (standard setting)

2 Unsaved data is lost

3 Required behavior can be selected each time the popup appears

Property: workprotect.mode.personalize

Value Meaning

on End users can personalize the behavior.

off End users cannot personalize the behavior.

Property: workprotect.window.features

Defines the appearance of the newly opened window.

Possible values are all the commands accepted by the JavaScript function window.open, such as toolbar=no, location=no

5. Choose Save.

Ranjeet0702
Active Participant
0 Kudos

You need to set the WorkProtectMode as false.

Former Member
0 Kudos

Hi Ranjeet,

Iam not able to find the WorkProtectMode parameter in the navigateObsolute method. Could you please tell me where should i set WorkProtectMode to false.

Thanks,

Suvarna

Former Member
0 Kudos

Don't try preview - assign the role to yourself and check again in EP.

Regards,

Subramanian V.

former_member720137
Active Participant
0 Kudos

Hi

Try Placing (String) null in between INPLACE and History mode

Thanks

Puneet

Former Member
0 Kudos

Check out these sample webdynpro application under

NAvigation

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d</a>

Thanks,

Swathi