Trigger a UI interaction from a declarative action
Trigger a UI interaction from a declarative action to extend a page without taking ownership.
始める前に
Complete the following actions:
- Create a UI interaction in UI Builder. For instructions, see Create a UI interaction.
- Create a declarative action and add the button to a workspace. For instructions, see Creating declarative action buttons.
Role required:
- ui_interaction_admin
- Provides full CRUD permissions and is inherited by admin and ui_builder_admin.
- ui_interaction_developer
- Provides permissions to create, read, and update but not to delete UI interactions or their inputs.
このタスクについて
UI interactions are reusable flows that combine UI elements and logic into a single unit. They help you avoid repeating the same wiring across multiple pages and make your designs easier to maintain.
A UI interaction defines what you want to happen, and how you apply a UI interaction defines how and when it happens. You can trigger UI interactions from page events in UI Builder or from declarative actions.
- Trigger a UI interaction from a declarative action if you need a button on a form or list without page customization.
- Trigger a UI interaction from a UI Builder page event to customize buttons and components on a page you own.
A UI interaction can be used instead of a UXF client action to simplify configuration since there's no need to configure add-on event mapping on a corresponding UI Builder page.
For a detailed overview of UI interactions, see UI interactions.
手順
タスクの結果
When the form or list button is selected, the specified inputs pass data to the UI interaction, and the UI interaction performs the action it was configured to do.