SAP Knowledge Base Article - Public

2222837 - How to grant view/edit permissions for the fields/portlets in employee profile

Symptom

User should be able view/edit the fields/portlets in employee profile in role based and non role based environments.

Environment

SuccessFactors: Employee profile

Resolution

  • Resolution to a non Role Based environment

To provide permission to view/edit an field/portlet in the profile in an non role based environment, the permissions are granted in the datamodel XML for the users role. You can follow the example below to edit the XML and after saving the changes import the file in the back end. 

<element-permission type="read">
    <description>
      Grant read permissions for employee and HR rep
    </description>
    <role-name>E</role-name>
    <role-name>EH</role-name>
    <standard-element-ref refid="photo"/>
    <background-element-ref refid="insideWorkExperience"/>
  </element-permission>
  <element-permission type="write">
    <description>
      Grant read/write permissions for employee and HR rep
    </description>
    <role-name>E</role-name>
    <role-name>EH</role-name>
    <background-element-ref refid="outsideWorkExperience"/>
    <background-element-ref refid="education"/>
    <background-element-ref refid="languages"/>
   </element-permission>

  • Resolution in a role based environment:
    1. Go to Admin Center > Manage Permission Role
    2. Select the affected Role 
    3. Click on Permissions 
    4. Under "Employee Data" select the wanted option to give the rle view/edit permission 

1.PNG

Additionally in role based environment we can set an Target population so that user who is granted permission in the role will be restricted with the acess of the permission to the particular target population defined.

2.PNG

Based on the permissions granted the user will be able to view/edit the portlets in the employee profile.

  • Example : Work Experience background portlet - User is granted both the permisison so he is able to view/edit the portlet by clickling on Edit,

3.PNG

4.PNG

 

Keywords

Control the view/edit permissions for the fields/portlets in employee profile , KBA , LOD-SF-EP , Employee Profile , Problem

Product

SAP SuccessFactors HXM Core all versions