Client Policies
How to create a Client Policy
A client policy is the controller for the UI Template. It controls what data is to be shown on UI Template by applying logics.
In order to create a Client Policy, follow these steps: -
On navigation, under Policies, go to Client Policies. You will see a list of all the Client Policies belonging to different applications.
Click on ‘settings icon’ on top left corner and then click ‘new’.
A form appears where you have to provide the following details: -
Name - name of the Client Policy.
Type: -
Execute onload – client policy executes when the application loads.
Execute on change – client policy executes when some form input changes in the application.
Script – The JavaScript code (Controller).
Run On – client policies are meant for platform applications and applications outside the platform.
Native – Execute the client policy for the platform applications.
Portal – Execute the client policy for outside applications.
Click on ‘create’ button. That’s it, you have created the Client Policy for the application.
Last updated