Symptom
Can I Hide Work Permit Portlet Business key Fields such as: Issue Date, Country, Document Type, Document Number
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 Employee Central
Cause
This expected behavior
Resolution
onView rule can hide the normal fields but cannot hide business key fields. This is expected behavior. For work permit, the business key fields are user id, issue date, country, document type, document number.
- It is important that the business keys be unique. It is recommended that business keys in data models be defined as required=true. In case, duplicate records are found, only one record will be returned and others ignored.
Note:
- Required is actually a boolean, so the valid text values to enter are: true, false
- Visibility is tricky - the valid text values to enter are: none, view, or both
- none = hidden
- view = view-only
- both = visible and editable
FAQ - Additional Information
Q) Where can I get information on this from the Guide?
A) Guide: SAP SuccessFactors API Reference Guide (OData V2)
Chapter: Business Keys
Guide: Implementing Business Rules in SAP SuccessFactors
Guide: Implementing Employee Central Core
Chapter :
See Also
- 2489671 - Can we hide some Work Permit fields, using an onInit Business Rule - Employee Central
- 2080655 - How to hide fields in the Add New Employee wizard - Employee Central
- 2802383 - OnChange Rule Do Not Work After The OnInit Rule Is Triggered In The Add New Hire Page
- 2079434 - New Hire process - Field level permissions are ignored
- 3073861 - How to set a field's visibility if it is not visible when editing?
- Refer to: Restrict Visibility of field – Date of Death – in Employee Central to Certain People
- Refer to: Using Business Rules to Set Field Visibility & Required Attributes
Keywords
INC16229582, onView, rule , hide , business key fields, user id, issue date, country, document type, document number. , KBA , LOD-SF-EC-PER-WRK , Work Permit - Config, Rules, RBP, UI , How To
SAP Knowledge Base Article - Public