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 to use truncate in EL Expression

Summary:

I need to use an EL Expression in Page Composer to hide the MM-DD part of the DOB and display only year from DOB of the employees, based on the role.

Content (please ensure you mask any confidential information):

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


25c


Code Snippet (add any code snippets that support your topic, if applicable): #{!(securityContext.userInRole['****_HM_JOB,****_MNGR_Job'])==true? row.bindings.DisplayPhoneNumber.inputValue : truncate(row.bindings.DisplayPhoneNumber.inputValue,5)}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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