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: -

  1. On navigation, under Policies, go to Client Policies. You will see a list of all the Client Policies belonging to different applications.

  2. Click on ‘settings icon’ on top left corner and then click ‘new’.

  3. A form appears where you have to provide the following details: -

  4. Name - name of the Client Policy.

  5. Type: -

  6. Execute onload – client policy executes when the application loads.

  7. Execute on change – client policy executes when some form input changes in the application.

  8. Script – The JavaScript code (Controller).

  9. Run On – client policies are meant for platform applications and applications outside the platform.

  10. Native – Execute the client policy for the platform applications.

  11. Portal – Execute the client policy for outside applications.

  12. Click on ‘create’ button. That’s it, you have created the Client Policy for the application.

Last updated