Redwood Document Records - manage visibility of Add Button based on roles — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Redwood Document Records - manage visibility of Add Button based on roles

Summary:

Hi all,

With the 25B update, the Document Records page now includes a property that allows us to either hide the Add button for everyone or keep it visible for all users. According to Oracle documentation, we can also use an expression to selectively show or hide the Add button based on user roles.

We successfully used the following expression to hide the add button for two roles,

[[ $application.user.roles.includes( 'ROLE1' , 'ROLE2' ) ? 'N' : 'Y' ]]

but by adding this EL, the roles that previously saw the button no longer saw it. Therefore, we wanted to ask if it's possible to build an EL that shows the add button to some roles and hides it from others.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!