Unqork documentation is available in two workspaces: UnqorkAI for the latest AI-first platform, and legacy Unqork for previous versions. Use the drop-down near the logo to switch.

Initializer Component

Prev Next

The Initializer component fires on a defined  and populates module fields from input data. Common triggers include module load and submission existence. Use it to auto-fill fields from session data, submission data, or other sources at load time.

How to read settings tables

The tables below describe each configurable option as it displays in the UnqorkAI platform. Values are formatted as follows: inline code — a value to type exactly as shown | Bold — a value selected from a drop-down, radio button, tab, or choice chip | ON/OFF — toggle state | ✓ — checkbox checked | ☐ — checkbox unchecked

General Settings

Setting

Field

Type

Default

Description

Property ID

key

Text input

init

The unique identifier for this component instance.

Canvas Label Text

label

Text input

—

Identifies the component on the Module Builder canvas. Does not display to end-users.

Actions Settings

Setting

Field

Type

Default

Description

Trigger Type

triggerType

Drop-down

Manual

Sets when the component fires.


Trigger Type

Description

Manual

Fires only when triggered by another component.

Watch

Fires when any defined input field changes.

New Submission

Fires when the module loads without an existing submission ID.

Edit Submission

Fires when the module loads with an existing submission ID.

Browser Event

Fires on browser close and displays a browser dialog.

Inputs

Defines the data sources passed into the initializer.

Column

Field

Type

Description

Property ID

id

Property ID

The source field or data  to read from (for example, currentUser.name).

Alias

alias

Text input

An alias used to reference this input in the Outputs table (for example, name).

Required

required

Toggle

When set to ON, this setting marks the input as required for the initializer to execute.

Outputs

Defines the module fields populated when the initializer fires.

Column

Field

Type

Description

Property ID

id

Property ID

The module field to populate.

Type

type

Drop-down

The type of output operation. See Output Types Reference for all available types.

Value

value

Text input

The value or formula to assign. Use =alias to reference an input alias (for example, =name).

In modules using the Vega (2.0) runtime, the following additional output types are available in the Type drop-down:

Type

Description

Vega Execute

Triggers an execution on a target Vega component.

Vega Operation

Sends a custom JSON operation to a Vega component or module.

Vega Value

Sets the value of a target Vega component.

Advanced Settings

Setting

Field

Type

Default

Description

Disable Execution

disabled

Toggle

OFF

Prevents the component from executing when triggered.

Set Debounce

debounceSetting

Number input

0

Sets the delay before executing after being triggered, in milliseconds (ms).

Operations Builder

This component supports the Operations Builder in Vega modules. When the module or panel runtime is set to Vega (2.0), an Event Handlers section displays in the settings panel for configuring event-driven operations.