Page Expression Editor
Last updated
Last updated
Formatting the UI fields is the most important aspect of any UI component. It is essential in conveying correct information to the user. Page Designer provides Expression Editor to set the format on the UI element. It uses AngularJS filter syntax to set the expression.
The User can access the Expression Editor from the Connect to Data icon. Click on Connect to Data icon and choose the Expression tab. Click the Customize expression button.
Now user can either write the required syntax expression in the Variable expression editor or click on the Field Type and Fields to choose the field to be formatted and add the format expression. User can choose from State variables as well as Microflow or Local Database fields. Users can use any valid AngularJS filter expression syntax for transforming fields. The below example is for formatting numbers.
For formatting, currency use the expression as shown below
For formatting date use the below syntax