Operations Builder

Overview

The Vega runtime Operations Builder lets Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. configure logic for Vega-compatible components. The Operations Builder configuration process is divided into two parts: events and operations. Events are facts about what has happened in the Runtime, and decides when an operation executes. For example, when using the Operations Builder in a Button component, setting the event to On Click causes an operation to execute when an end-user End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. clicks the button. Operations perform a specific function when an event occurs. For example, performing a Table Add Row operation that adds a new row to a Vega Table when the end-user clicks a button.

To learn more about how the Operations Builder works, view our Introduction to Operations Builder article.

Configuring with the Operations Builder Tool

Depending on the type of component, the Operations Builder is accessible in one of two ways. You can access the Operations Builder in non-logic components using the component's canvas toolbar. You can also access the Operations Builder in the Initializer component from the Outputs table Enter outputs components and actions you want the component to perform..

The Runtime Version must be set to Vega (2.0) to use the Operations Builder with Vega-compatible components. Or, use Cross-Runtime Support in a Panel component to access the Operations Builder in the Centauri runtime.

Configuring Operations in Non-Logic Components

Configuring the Operations Builder is a multi-step process that begins with selecting an event, then configuring operations for that event. Once you've configured at least one operation, the Operations Builder tool lets you edit existing configurations, add additional events and operations, and adjust the order of execution.

To access the Operations Builder, the moduleRuntime Version setting must be set to Vega (2.0), or, the component must be in a Vega-enabled Panel component.

To learn more about Centauri and Vega-supported components, view our Introduction to Vega article.

To configure operations in a component:

1. In the Module Builder, open the settings of a Vega-supported component.
2. Navigate to the component's Actions settings.
3. To the right of Events & Operations, click Edit. The Operations Builder modal A modal is a window that appears on top of the content you are currently viewing. displays.

A static image displaying a component's configuration settings, the Operations Builder Edit button is highlighted.

4. In the Select an Event ▾ field, enter or select an event from the list.

To see a list of events and their descriptions, view our Operations Builder Events Reference list.

5. Click Add. The Operation Type configuration menu displays.
6. In the Operation Type field, enter or select an operation to execute when the event occurs.
7. Depending on the operation, configure the remaining fields. Settings marked with an asterisk must be completed before you can save the operation.
8. Click Save. The operation displays in the Operations Builder configuration window as a new row. The Operation Type and Operation Summary values display inside the row.

A static image displaying the Operations Builder Configuration Menu with a configured operation.

9. (Optional) To configure another operation for the same event, select or enter a new operation from the Operation Type drop-down.
10. (Optional) To configure another event, enter or select an event from the Select an Event  | ▾ field.
11. Click Save Component.
12. Save your module.
13. Preview the functionality in Express View Express View is how your end-user views you application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View..

Best Practices and Limitations

Resources