create_ui_policy
Create a UI Policy to dynamically control field behavior based on conditions. Define when fields become visible, mandatory, or read-only on a specified table.
Instructions
Create a new UI Policy to control field behavior dynamically (requires SCRIPTING_ENABLED=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_description | Yes | Policy description | |
| table | Yes | Table to apply this policy on | |
| conditions | No | Encoded query conditions that trigger the policy | |
| script | No | Optional script to run when conditions are met | |
| active | No | Whether to activate immediately (default: true) | |
| run_scripts | No | Run script in addition to UI actions (default: false) |