Posts

Showing posts from July, 2019

Page Composer Expression Builder If/Then/Else Condition

This area explains how to Use the If/Then/Else condition in the Expression Builder of Page Composer. In this example we will be using the expression to mask the person name only if the following conditions are met: The user has NOT been assigned the abstract role created in the earlier step The expenditure item type equals “Professional” which identifies expenditure items containing sensitive hourly rate information for contractors Where securityContext.userInRole[‘<Role Name>'] returns a true or false if the role specified has been assigned to the user row.<attributename> returns the value assigned to the outputText for the row == is an operator used for comparing values ? : is used for if/then/else Step 1: Edit the Page You will need the required adminstrator privileges to access the page composer. Once these are assigned to your user open the the required page and from the administrators menu click on the action link 'Edit Pages'. Step 2:  Clic