Skip to Content
Author's profile photo Vivek Barnwal

Restrict Visibility of field – Date of Death – in Employee Central to Certain People

Introduction

A month back, I successfully completed my first employee central implementation project for a world’s leading bike manufacturer based out of USA. And the entire implementation period has been a great learning experience for me. It has been almost like starting afresh on a new product solution. And here I am, after a long hiatus, to share a knowledge capsule with all of you.

 

Client Requirement


Our client wanted to hide the field “Date of Death” in Biographical Information (personInfo) portlet in People Profile for all except HR Admin and HR Technology Support team. Below screenshot shows the field I am referring to.

 

The fields in SuccessFactors are generally hidden using Role Based Permissions (RBP). However, in case of Biographical Information (personInfo) portlet, you can either hide or view the whole portlet using RBP, but not do the same for fields within the portlet. This is because RBP doesn’t provide options for fields within Biographical Information (personInfo) portlet. Please refer the below screenshot for your reference.

 

Solution

Since I couldn’t use RBP to restrict visibility of field “Date of Death” in Biographical Information (personInfo) portlet, I leveraged business rule to achieve this requirement.

Before that, we need to create a permission group that will include members who will have access to view the field “Date of Death” in Biographical Information (personInfo) Portlet. You can either search for “Manage Permission Groups” in the search bar or follow the below path to open up “Manager Permission Groups”.

Admin Center > Manage Employees > Set User Permissions > Manage Permission Groups

I created a permission group called “Group_View_Date_Of_Death” and added the eligible members in the group. I have used username as the category for the People Pool for this document. However, I would recommend you to use category like job classification or department etc. to keep the permission group dynamic. Below screenshot shows the permission group I created.

 

 

The next step is to create business rule using configure business rule. You can either search for “Configure Business Rule” in the search bar or follow the below path to open up “Configure Business Rule”.

Admin Center > Company Settings > Configure Business Rules > Create New Rule

I created the rule as shown in the below screenshot.

 

Since we have to hide a field in Biographical Information (personInfo) portlet, the base object to be used is Biographical Information (personInfo) Model and not Biographical Information (personInfo).

The logic in the rule implies that if the logged in user is not in the permission group – “Group_View_Date_Of_Death”, then the field – Date of Death – is not visible to the user.

We need to assign the business rule to the Biographical Information (personInfo) portlet. You can either search for “Manage Business Configuration” in the search bar or follow the below path to open up “Manage Business Configuration”.

Admin Center > Manage Business Configuration > personInfo

The business rule has been added to the Biographical Information (personInfo) portlet with event type as “onView” and base object as “Biographical Information Model” as shown in the screenshot below:

With this, the solution configuration is complete. Let us test the solution for different scenarios.

 

Solution

Scenario 1: User in the permission group “Group_View_Date_Of_Death” viewing “Date of Death” in his People Profile.

Aanya Sing (username: sfadmin) is a part of the permission group “Group_View_Date_Of_Death” and is able to view the field “Date of Death” in her People Profile. Please refer the below screenshot.

 

 

Scenario 2: User in the permission group “Group_View_Date_Of_Death” viewing “Date of Death” in People Profile of another employee.

Aanya Sing (username: sfadmin) is a part of the permission group “Group_View_Date_Of_Death” and is able to view the field “Date of Death” in People Profile of employee “Pieter Evert”. Please refer the below screenshot.

 

Scenario 3: User is not in the permission group “Group_View_Date_Of_Death” and trying to view “Date of Death” in his People Profile.

Pieter Evert (username: PEvert) is not a part of the permission group “Group_View_Date_Of_Death” and is unable able to view the field “Date of Death” in his People Profile. Please refer the below screenshot.

 

Scenario 4: User is not in the permission group “Group_View_Date_Of_Death” and trying to view “Date of Death” in another employee’s People Profile.

Lisa Felix (username: lfelix) is not a part of the permission group “Group_View_Date_Of_Death” and is unable able to view the field “Date of Death” in People Profile of Pieter Evert. Please refer the below screenshot.

 

Here, I come to the end of this knowledge artifact. I hope this solution approach will be helpful to restrict visibility of fields in portlets like Biographical Information.

 

Warm regards,

Vivek Barnwal

 

******************************************************************************************************************

You can also refer to other knowledge artifacts created by me at the below link:

One Stop Shop of my Knowledge Artifacts in SAP HCM

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      Very useful knowledge artifact. You have clearly explained with the examples on this customization. Thanks a lot for sharing this with the details.

      Author's profile photo @ Dey Sankarsan
      @ Dey Sankarsan

       

      Hi Sir,

      Excellent knowledge artifact..

      Author's profile photo Aswin Rajeswaran
      Aswin Rajeswaran

      Very Useful artifact. Thanks for sharing

       

      Author's profile photo Ranjitha HB
      Ranjitha HB

      Very nice information.

      Please let me know how we can restrict the visibility of field for Custom MDF portlet fields for roles. or Is it possible to restrict.

      Thanks in advance

       

      Author's profile photo Duarte Farinha Caixado
      Duarte Farinha Caixado

      I have the same question, Ranjitha. Did you find an answer for that? Thank you

      Author's profile photo Piyush Agarwal
      Piyush Agarwal

      Very useful knowledge artifact. Thanks a lot for sharing this with complete details.