ui-policy skill creates form UI policies (sys_ui_policy) and their actions. Policies run client-side based on conditions and control field visibility, mandatory state, and read-only state.UI Policy
Form UI policies for field visibility, mandatory, and read-only.
The
| Operation | Description |
|---|---|
| add_action | Add a field action (visible/mandatory/read-only) to a policy |
| create | Create a UI policy with table and condition |
Run
sn ops ui-policy to see the full input schema for each operation.You
Create a UI policy on the incident form that makes the 'resolution_code' field mandatory when state is Resolved.