Widgets

Configure data display widgets within tabs.

Overview

Widgets display the actual data within a tab. Each widget can be configured with a specific type, layout, and data mapping. Widgets can also have display conditions to control when they are shown, and actions to allow users to perform operations.

The detail screen is divided into 4 columns. Each widget occupies a configurable number of columns, allowing you to create layouts with multiple widgets side by side.

Widget types

Type
Description
Example use

fields

Key-value fields in columns.

Customer data, Address.

collection

List of items with pagination.

Nationalities, Partners.

table

Data in table format.

Contact moments.

interactive-table

Table with sorting and filtering.

Running cases.

map

Geographic map display.

Location.

divider

Visual separation between widgets.

Grouping related widgets.

Fields widget example
A fields widget displaying customer data.
Interactive table widget example
An interactive table widget with sorting and a link action.

Configuration

Widget configuration wizard

The widget configuration goes through 6 steps. When configuring an interactive table an additional filters step appears between the Content and Display Conditions steps.

Step 1: Choose widget type

Select from: Fields, Collection, Table, Interactive table, or Map.

Widget wizard step 1
Select the widget type.

Step 2: Choose widget width

The screen is divided into 4 columns. Select how many columns the widget should span:

Option
Columns
Description

Small

1

Quarter width.

Medium

2

Half width.

Large

3

Three-quarter width.

Extra large

4

Full width.

Widget wizard step 2
Select the widget width.

Step 3: Choose widget density

Option
Description

Default

Normal spacing between elements.

Compact

Reduced spacing for more content in less space.

Widget wizard step 3
Select the widget density.

Step 4: Choose widget style

Option
Description

Default

Normal display for regular content.

High contrast

Inverted colors for emphasis. In light mode the widget appears dark, in dark mode the widget appears light.

Widget wizard step 4
Select the widget style.

Step 5: Choose widget content

Configure the widget title, icon, data path, and fields.

Widget wizard step 5
Configure the widget content.

Widget properties:

Field
Description

Widget title

Title displayed above the widget.

Icon

Optional icon (select from list).

Link action (optional):

Field
Description

Target URL (with placeholders)

URL for link action.

Button label

Label for the link button.

Field configuration:

Field
Description

Title

Label for a field row.

Display type

How the field value is displayed (e.g. Text, Date).

Value

Data path to the field value.

Ellipsis character limit

Maximum characters before truncation (optional).

Hide when empty

Hide the field when value is empty.

Interactive table filters (interactive table only)

When configuring an interactive table, an additional wizard step is available to define filters. These filters allow users to quickly search and narrow down the data displayed in the table. By adding filters, you can provide a more tailored search experience, enabling users to find relevant cases based on specific criteria like dates, statuses, or custom identifiers.

During this configuration step, you can define one or more filters.

Supported data types:

Data type
Description
Typical field types

Text

Free text values, optionally matched exactly or with a contains/like query.

Single input, single-select dropdown, multi-select dropdown.

Number

Whole numbers or decimals.

Single input or range.

Date

Calendar dates (no time).

Single input or range.

Datetime

Combined date and time values.

Single input or range.

Boolean

Yes/No flag rendered as translated radio buttons.

Single input.

Field types:

Field type
Description

Single

Renders a single input field to filter by the entered value.

Range

Renders start and end input fields to filter between two values.

Single-select dropdown

Dropdown populated manually or via the dropdown database provider. Sends the option id.

Multi-select dropdown

Tag-style selector populated manually or via the dropdown database provider. Sends an array of option ids.

Boolean filters automatically render a translated Yes/No selector, while dropdown filters can use hard-coded values or reference a data provider to stay in sync with external lists.

When using the interactive table, users can combine several filters and clear them with a single click. Every change immediately refreshes the table content, allowing cases to be located quickly without leaving the widget.

Step 6: Set display conditions

Configure conditions that determine when the widget is shown. If multiple conditions are configured, all must be met for the widget to display.

Widget wizard step 6
Configure display conditions.
Field
Description

Path

Data path for the condition.

Operator

Comparison operator (e.g. Equal to, Not equal to, Greater than).

Value

Value to compare against.

JSON editor

For advanced configuration, switch to the JSON editor. The JSON editor allows direct editing of the widget configuration.

Visual and JSON editor toggle
Switch between visual editor and JSON editor.

Widget order

The order of widgets within a tab can be adjusted via drag & drop. Widgets are displayed from left to right, top to bottom, filling the available columns.

Widget drag and drop
Reorder widgets via drag & drop.

Dividers

A divider is a special widget type that creates visual separation between groups of widgets. Add a divider from the widget list to create a horizontal line spanning the full width.

Divider between widgets
A divider separating two groups of widgets.

Widget actions

Actions add buttons to a widget that allow users to perform operations. Actions appear in the top-right corner of the widget.

Action types

Type
Description

Link

Navigate to a URL.

Can start case

Show a dropdown with available case definitions. User selects one and the start form opens.

Link actions navigate the user to a specified URL. The URL can contain placeholders to include dynamic data.

Link action configuration
Configure a link action with URL and button label.
Link action configuration
Configure a link action with URL and button label.
Field
Description

Link-URL (with variables)

The target URL. Use placeholders like ${iko:/person/bsn} for dynamic values.

Button label

The text displayed on the button.

Example configuration:

Field
Value

Link-URL (with variables)

https://example.com/details/${iko:/person/bsn}

Button label

View details

Configuring can start case

The "Can start case" action displays a button with a dropdown menu. The dropdown shows all available GZAC case definitions. When the user selects a case definition, the start form for that case opens.

Enable this action by setting canStartCase to true in the widget properties.

Link action configuration
Configure a link action with URL and button label.
Link action configuration
Configure a link action with URL and button label.

Display properties (optional)

Display properties control how field values are rendered. If not specified, values are displayed as plain text.

Type
Parameters
Description

text

hideWhenEmpty

Standard text display.

number

hideWhenEmpty

Numeric display.

date

format, hideWhenEmpty

Date display.

datetime

format, hideWhenEmpty

Date and time display.

boolean

hideWhenEmpty

Yes/No display.

currency

hideWhenEmpty

Currency display.

percent

hideWhenEmpty

Percentage display.

link

hideWhenEmpty

Hyperlink display.

Date formats

Pattern
Description
Example

DD-MM-YYYY

Day-Month-Year.

31-12-2024

YYYY-MM-DD

Year-Month-Day.

2024-12-31

DD/MM/YYYY

Day/Month/Year.

31/12/2024

Value resolvers

Values in widgets are retrieved using the iko: prefix, which indicates the value should be retrieved from the IKO data context.

Pattern
Description

iko:/path/to/field

Absolute path from the root context.

/path/to/field

Relative path within a collection item.

Examples:

Display conditions

Display conditions determine when a widget is shown based on data values. If multiple conditions are configured, all must be met.

Field
Description

Path

Data path for the condition.

Operator

Comparison operator (e.g. Equal to, Not equal to, Greater than).

Value

Value to compare against.

Example: Only show a widget when the person has Dutch nationality:

Field
Value

Path

iko:/person/nationality/code

Operator

==

Value

NL

Last updated