UI Actions

TODO:FIXME

Jace Benson

Table of content
  1. How They Work in Workspaces
  2. UI Actions vs. Workspace Actions
  3. Further Reading
  4. Workspace context

Docs

UI Actions work differently in Next Experience workspaces than they do in Core UI. In Core UI, a UI Action is a button or link on a form or list — you write a condition and a script, and it shows up when the condition's true. In Next Experience, UI Actions are configured through UI Builder and operate as actions that can appear on forms, lists, and record context menus.

How They Work in Workspaces

A UI Action in a workspace is a record on the sys_ux_ui_action table. It has:

UI Actions in workspaces respect roles and ACLs just like Core UI actions do. If a user doesn't have access to the underlying table or operation, the action won't appear.

UI Actions vs. Workspace Actions

There's a distinction worth understanding:

For most cases, the sys_ux_ui_action table is the right place to start. It keeps the action definition central rather than embedded in a specific workspace layout.

Further Reading

Workspace context

Workspaces are pre-built areas that have various lists, forms and other components already built out for you. You can use these as-is, or you can customize them to fit your needs.