Configuring operations
Configure the basic settings for operations.
Connecting a component to a data service
Note: Before you connect a component to a data service, create at least one data service. To do this, click of the editor, and then click .
Adding a custom operation
Experience Designer supports standard operations and custom operations for several components. With custom operations, you can connect a named operation to a data service and trigger the operation from a toolbar button or a button component.
Typical use cases include:
- Update the status of selected records by using a button.
- Copy or create records directly from a component.
Operation examples
Example use cases of operations include reading data to a form, running an update from a button, and opening a dialog.
Reading data into a form or data grid
- Create a data service by using MI, LISTMI, or API Gateway.
- Configure the transaction inputs and outputs.
- Connect the data service to the Read operation of the component.
- Add an interaction that triggers Read on Application Load or when a record is selected in another component.
- Add fields or columns from the data service output.
Running an update from a button
- Create a data service with an update transaction.
- Add a toolbar button to the component.
- Create a custom operation or use the standard Update operation if suitable.
- Connect the data service to the operation.
- Create an interaction in which clicking the button triggers the operation.
Opening and submitting a dialog
- Create the dialog.
- Add a toolbar button to the component.
- Connect a data service to the dialog’s Submit operation.
- Create an interaction for a button that uses the Click event and the Open operation.
- Configure field initial values and data service inputs as needed.