Documentation
  • Introduction
  • The Platform
    • Create Application
    • View Builder
    • Report Builder
    • UI Templates
    • Client Policies
    • Client Script
    • Properties
    • Scripting Console
    • Routes
    • Server Policies
    • Server Scrips
    • Scheduled Jobs
    • Data Aggregation
    • Fields
    • Field Dropdowns
    • Collections
    • Sample Application
    • Debugging
  • Reference
    • Introduction
    • API
    • Functions
    • Errors
  • SOFOS EDU-TECH
    • Introduction
    • Reports
    • API
  • PELATIS ITSM
    • Introduction
  • Apps
    • USER MANAGEMENT APP
    • Order Management
      • Client
        • OrderManagement
        • AllOrders
        • ProductManagement
          • ProductTable
          • ProductForm
      • Server Scripts
        • Order
        • Product
      • API
        • Orders
        • Products
Powered by GitBook
On this page

Was this helpful?

  1. The Platform

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.

PreviousUI TemplatesNextClient Script

Last updated 4 years ago

Was this helpful?