Adding action sets to a control
Determine how a control behaves when the user interacts with it. By creating action sets, you can link a specific user behavior (an event) to a desired outcome of that behavior (action).
For example, you can specify that clicking an 'Add to cart' button (event) refreshes the cart in an online shop (action). You can define many events and actions in an action set, and you can create multiple action sets for a single control. For each action set, the system executes the actions in the order in which they are listed.
Note the following accessibility best practices:
- Use the Click event for most actions, especially for links, buttons, icons, and table actions.
- For keyboard-only users, add an Enter key event for every Click event.
- Use the events in the Other events category carefully, for example, Change, and test them with keyboard navigation.
- Use visibility conditions on the client side if possible, and apply them below the control that triggers the change.
- Avoid Hover and Right-click events.
- Open the view that you want to edit.For more information, see Accessing views in your application.
- In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.
- In the configuration pane, click Add action sets.
- In the action set overlay, click Create an action
Result: A table with a new action set appears.
- In the action set table, click Add an event, and then
select the user behavior that triggers the action set.
For example: To create a button that you can click to refresh a section, select Click as the event.
- In the action set table, click Add an action, and then
select the action that the user triggers when interacting with the
For example: To assign a refresh action to your button, click Display: Refresh.
- If the action that you select requires additional configuration, complete the
For example: To configure a button that refreshes the current section, in the Target list, select Section.
- Optional: To define another action set for the selected element, click Add another action set.
- Optional: To remove an action set, click Delete action set.
- Save the form by clicking OK.
Previous topic Defining refresh conditions for UI areas Next topic Adding conditions to an action set