Show TOC Start of Content Area

Procedure documentation Personalizing Web Dynpro iViews Based on Roles  Locate the document in its SAP Library 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.

More Information: Configuring the Web Dynpro Runtime Environment

      You have pasted the iView into the relevant role as a Delta Link, not as a Copy.

Procedure

Opening the personalization dialog box

...

       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.
This graphic is explained in the accompanying text

       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 of Current Role…

...

Personalizing an iView for a role

The figure below shows the available personalization options:

This graphic is explained in the accompanying text

      (1) Personalized Elements

This section 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 This graphic is explained in the accompanying text, you can display additional information.

This graphic is explained in the accompanying text

       (3) Specify properties or arrangement of single UI elements or forms

Properties:

       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 This graphic is explained in the accompanying text. 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 deselecting the item’s check box.

       The Reset All button 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.

Rearrange

       You can 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.

Custom Extensions

A Custom Extension Field is a field a customer has added to the data structure on which the UI operates. The customer extends the structure in the back-end, these additional fields are transported through all layers to the UI.

       You can set a Extension Field to active and then select the appropriate UI element in the Editor column to add it to the iView.

This graphic is explained in the accompanying text

       You can decide whether end users can see this field in their personalization dialog box by selecting the Visible checkbox.

      (4)

       Disable end-user personalization for this iView checkbox. Disables all personalization options for the end user.

       Reset iView button. You can reset all personalization settings for the entire iView here.

End of Content Area