mercoledì 18 luglio 2012

How to configure WorkProtect Mode popup

When you navigate from a BSP to a portal component i.e. WebDynpro Java without saving, you could have data loss. In order to manage centrally all these situations you may configure the WorkProtect Mode popup.

This is an example of popup

Configuration steps on NetWeaver 7.0x
  • Access to Portal using a user with admin role.

  • Navigate to Service Configuration: System Administration -> System Configuration -> Service Configuration


  • Select application "com.sap.portal.epcf.loader" and open the properties for service "epcfloader"
    Here you can customize following settings:
    • workprotect.mode.default
    • workprotect.mode.personalize
    • workprotect.popup.layout
    • workprotect.window.features


  • Save and restart the service so the changes take effect.

    Right-click on the application node "com.sap.portal.epcf.loader" and then choose "Administrate" in order to open the application console. Restart/Stop links are shown.




Possible values ​​for the properties

"workprotect.mode.default" property
[1] for "Protect unsaved data (open page in a new window)"
[2] for "Discard unsaved data (open page in the same window)"
[3] for "Choose action in popup on unsaved data"

"workprotect.mode.personalize" property
[on] means users may change their values in the portal personalization ("Personalize -> WorkProtect Mode ").
[off] means users cannot changed individually the personalization.

"workprotect.popup.layout" property
[default] for options shown as link
[buttons] for options shown as button

"workprotect.window.features" property
Default value is empty but you can change it to any value accepted by the JavaScript function window.open i.e. toolbar=no,location=no

Nessun commento:

Posta un commento