Show TOC

 Personalizing Web Dynpro iViews Based on RolesLocate this document in the navigation structure

Role-based Personalization is a process in which the portal content administrator can adapt an application to the requirements of users belonging to a particular role. You perform this process in SAP NetWeaver Portal during Web Dynpro application runtime. This is done at the iViews level inside a role and is stored in the Portal Content Directory (PCD). These properties are not visible in the standard iView editor, they are stored together with the iView object instance.

If an iView is transported to another portal all these properties are also transported. This is needed to make sure that role-specific changes are transported together with the role.

Prerequisites
  • Personalization is automatically available for each Web Dynpro application on the SAP NetWeaver Portal. You can disable personalization by setting AllowUserPersonalization in the Web Dynpro runtime environment configuration to false . The default setting for this value is true .
  • You have pasted the iView into the relevant role as a Delta Link, not as a Copy.
Procedure

To open the personalization dialog box, do the following steps:

  1. In the Portal Catalog, in the relevant folder, select the role, open the context menu and choose Open → Role.
  2. Select the relevant iView and choose Edit.
  3. Click Preview to run the iView. To verify that the iView is running in administrator mode, check that the parameter sap-config-mode=true is part of the iView's URL.
  4. To open the personalization dialog, click the secondary mouse button and choose Settings for Current Role…

To personalize an iView for a role, the following steps are required:

  1. The section Personalized Elements provides an overview on all UI elements that have been personalized. You can review all personalization settings that have been performed for this iView.
  2. Screen Composition allows you to navigate through the UI element hierarchy by selecting the UI elements you want to personalize. Additionally you can use the buttons Top and Up to navigate. Choosing Custom in the drop down box followed by Edit Perspective, you can display additional information.
  3. Next, you specify properties or arrangement of single UI elements or forms. The steps for properties are as following: Depending on the individual UI element you can change different properties. All personalizable properties are displayed. Properties that end users can change in their User Settings are displayed with a lock symbol. You can lock and unlock this option for the end user here by selecting the check box of the relevant property followed by clicking the lock symbol. You can always reset a property to the default value by de-selecting the item's check box. Reset All enables you to reset all of the personalization settings of the respective UI element. Set default values by selecting the check box and entering a value in the New Value column.
  4. A typical action item for arrangements is that you rearrange columns in a table or lines in a form using the Top, Up, Down and Bottom buttons and you can specify whether they are displayed using by hiding selected columns or rows.
  5. Also possible are custom extensions: A Custom Extension Field is a field a customer has added. The customer extends the structure in the back-end, these additional fields are transported through all layers to the UI. You can set an Extension Field to active and then select the appropriate UI element in the Editor column to add it to the iView. You can decide whether end users can see this field in their personalization dialog box by selecting the Visible checkbox.