(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Calendar

Overview

Calendar overview

Specs

Tokens

Token Description
displayName Display name in structure panel.
viewDate Initial month shown (currentMonth, previousMonth, nextMonth).
selectionMode Interaction mode: date or timeframe.
minZoomMode Minimum zoom level.
maxZoomMode Maximum zoom level.
useMockData Enables sample indicator data.
fetchEntityCollectionDataSourceId Data source ID for indicators.
getEntityCollectionHttpRequestParametersMap HTTP parameters map for data requests.
events Configures component events.
ON_CALENDAR_DATETIME_CHANGE (Events) Fires on date or range selection.
ON_INIT (Events) Fires on component initialization.
ON_DESTROY (Events) Fires when component is removed.
visibilityPolicySetId Policy controlling component visibility.
displayConditions Rules to show/hide the calendar.
id Unique identifier for programmatic access.
dataTestId Testing hook ID.
enableAsHotspot Enables guided tour hotspot.
guidedTourHotSpotTitle Guided tour hotspot title (localized).
guidedTourHotSpotDescription Guided tour hotspot description (localized).

Structure

(Configured in General Properties)

(Configured in Visual Properties)

Single Select in comparison to Date Range Picker visualized

(Configured in Visibility)

Styling

(Configured in Visual Properties)

Visual Properties tab with options displayed

Actions & Variants

Actions

(Configured in Events)

Datasource

(Configured in Datasource)

Authorization

(Configured in Authorization)

Tests

(Configured in Testing Hooks)

(Configured in Visual Properties)

Links

Guidelines

Usage

Interactions & Events

React to user selection by handling ON_CALENDAR_DATETIME_CHANGE to update related UI or trigger logic.

Visibility & Authorization

Dos & Don’ts

Do Don’t Article setting(s)
Set selectionMode: "timeframe" when ranges are required so users can drag/select a span. Simulate ranges in "date" mode (it emits only a single date). selectionMode, events.ON_CALENDAR_DATETIME_CHANGE
Constrain zoom with minZoomMode/maxZoomMode to the levels your use case needs. Allow unrestricted zooming that sends users into irrelevant levels. minZoomMode, maxZoomMode
Initialize the first visible month with viewDate to match the task (e.g., next month for planning). Rely on defaults that open on an unhelpful month. viewDate
Populate indicators through a data source and pass scoped filters. Hard-code indicator dots or mix mock and real data in production. fetchEntityCollectionDataSourceId, getEntityCollectionHttpRequestParametersMap, useMockData
Treat ON_CALENDAR_DATETIME_CHANGE as the place to react to user selection. Poll the component for selection state. events.ON_CALENDAR_DATETIME_CHANGE
Use the guided-tour hotspot with brief, localized text as optional help. Place essential instructions only in the hotspot/tooltip-style copy. enableAsHotspot, guidedTourHotSpotTitle, guidedTourHotSpotDescription

Accessibility