ui-script skill creates UI scripts (sys_ui_script) — client-side JavaScript that loads globally or on specific pages. Scripts can be linked to Service Portal themes as JS includes or grouped into dependencies.UI Script
Client-side JavaScript loaded globally or per UI page.
The
| Operation | Description |
|---|---|
| create | Create a UI script |
| create_dependency | Create a script dependency |
| link_js_to_dependency | Attach a JS include to a dependency |
| link_to_portal | Link a UI script to a portal theme |
Run
sn ops ui-script to see the full input schema for each operation.You
Create a global UI script that adds a keyboard shortcut (Ctrl+Shift+S) to save and stay on the form.