Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

How can I exclude users with an EL Expression using Page Composer

Summary:

I want to exclude users with an EL Expression using Page Composer

Content (required):

We have a requirement where a field must be mandatory for all users except for one.

We had found an expression to make is mandatory only for one user i.e., #{WCSecurityContext.currentUser[‘userName‘]}

How can we change this expression to make it mandatory for all users except for one.

Please suggest.

Version (include the version you are using, if applicable):

23B

Code Snippet (add any code snippets that support your topic, if applicable):

#{WCSecurityContext.currentUser[‘userName‘]}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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