New Page Properties to Control the Add Action on Redwood Personal Info Pages
We have introduced new VB Studio Page Properties to control the display of the add actions with the possibility of using conditions. The conditions are limited to whether the user is viewing their own record or another person's record, or a user has a specific role assigned.
These Page Properties are for those customers who had created Page Composer expressions referencing a user's role on Responsive pages to hide specific actions. For example, on the Responsive Contact Info page in the Address region, some customers created an expression such that their HR professionals would see the Add button so they could create new addresses. But their employees couldn't see the Add button and hence couldn’t create new addresses. They could only edit their existing addresses. Another example of an expression was on the Family and Emergency Contacts page where some customers simply hid the option to create a contact from the Select a Coworker as a Contact option for all users. With these new Page Properties, this functionality can now be met.
This table lists the Page Properties by Redwood page and region.
New VB Studio Page Properties
Redwood Page | Region | Action | Page Property |
---|---|---|---|
Personal Details | Demographic info | Add | Show Add Icon in the Demographic Info Section |
Personal Details | National identifiers | Add | Show Add Icon in the National Identifier Section |
Personal Details | Disability info | Add | Show Add Icon in the Disability Info Section |
Identification Info | Citizenship | Add | Show Add Icon in the Citizenship Section |
Identification Info | Passports | Add | Show Add Icon in the Passports Section |
Identification Info | Visas and permits | Add | Show Add Icon in the Visas and Permits Section |
Identification Info | Driver's licenses | Add | Show Add Icon in the Driver's Licenses Section |
Contact Info | Phone details | Add | Show Add Icon in the Phone Details Section |
Contact Info | Email details | Add | Show Add Icon in the Email Details Section |
Contact Info | Other communication accounts | Add | Show Add Icon in the Other Communication Accounts Section |
Contact Info | Address | Add | Show Add Icon in the Address Section |
Family and Emergency Contacts | My contacts | Create a New Contact | Show the Create a New Contact Action |
Family and Emergency Contacts | My contacts | Select a Coworker as a Contact | Show the Select a Coworker as a Contact Action |
Family and Emergency Contacts | Edit Contact | Delete | Show Delete Button |
Person Identifiers for External Applications | Person identifiers for external applications | Add | Show Add Icon |
Additional Person Info | Additional person info | Add | Show Add Icon |
The next table lists some examples of the conditions that can be used.
Examples of Conditions
Condition | Display the Add Action | Hide the Add Action |
---|---|---|
A professional user from the 'Me' context | [[ $base.variables.ElevatedUser.includes('OWN') ? 'Y' : 'N' ]] | [[ $base.variables.ElevatedUser.includes('OWN') ? 'N' : 'Y' ]] |
A professional user from the 'My Client Group' context | [[ $base.variables.ElevatedUser.includes('OTHERS') ? 'Y' : 'N' ]] | [[ $base.variables.ElevatedUser.includes('OTHERS') ? 'N' : 'Y' ]] |
Specific User Roles | [[ $application.user.roles.includes( 'ROLE_1' , 'ROLE_2' , .... ) ? 'Y' : 'N' ]] | [[ $application.user.roles.includes( 'ROLE_1' , 'ROLE_2' , .... ) ? 'N' : 'Y' ]] |
Another option is to simply set the Page Property to 'N' to hide the action completely for all users.
Note: These page properties don't override the underlying requirements that a role must have the necessary privileges to perform the actions. If the role doesn't have the necessary privilege, regardless of the Page Property setting, the Add action won’t be displayed.
This feature enables you to have more granular control of the add actions.
Steps to Enable
You don't need to do anything to enable this feature.
Key Resources
For more information, refer to these resources on the Oracle Help Center.
For a listing of all profile options for the recreated pages across applications, see the following document in My Oracle Support:
- HCM Redwood Pages with Profile Options – MOS Document - 2922407.1