Symptom
- How to hide the visibility of a field in the UI based on the Value from a Picklist parent object;
- How to use UI rules to hide specific fields on custom UI.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Employee Central
Resolution
- Navigate to 'Admin Center' > 'Manage Configuration UI';
- Create New Object;
- Select Base Object (for example Position);
- Set up the fields for this object;
- Create a UI Rule;
- This rule has to account for all the options in the picklist;
- Set your If Condition for hiding the fields, as per example below:
- Set the 'Else If' condition for the fields you want to show as visibile and save it:
- Navigate to the Parent Object, and edit the details;
- Select the rule you just created in the 'onChange UI Rules' section > Click OK and save it;
- Last you need to set this as the 'Default Screen' for the Object in 'Configure Object Definition' > Save Changes made;
Note:
Please be aware if a field is being hidden via UI rule or field properties from the UI level - it will not take effect on the History panel showing change. If the field is hidden from the object level, then it works as expected.
See Also
Keywords
sf ec, sfec, successfactors, Custom visibility, custom ui, UI rules, custom object, MDF, people profile, visibility, field level, onChange, EC, object, hide, , KBA , LOD-SF-MDF-UI , UI Config, Layout & Rules , LOD-SF-EC-MDF , MDF & EC2MDF Migration , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , LOD-SF-MDF-PPX , MDF on New People Profile , How To
SAP Knowledge Base Article - Public