Magidoc

DashboardChartParamMapping
Object

Maps a single Metabase question parameter to a session-activity key (or a fixed key).

Fields

#

defaultKind

How the default value for this param is produced when no value has been saved. Null on mappings curated before defaults existed; treated the same as NONE.

defaultOffsetDays

The number of days, used by the DAYS_FROM_TODAY and DAYS_AFTER_TODAY date default kinds.

defaultTimeOfDay

The time-of-day (HH:mm) appended to a resolved DATETIME default. Only meaningful on a DATETIME param; null leaves the default date-only.

defaultValue

The literal default value, used when defaultKind is STATIC.

defaultValues

[ String !]

The literal default values, used when defaultKind is STATIC and the param is multi-select.

isMultiSelect

Non-null

Whether Metabase allows multiple values for this parameter.

mappedKey

Non-null

The session-activity column key or fixed key this parameter maps to.

metabaseParamSlug

Non-null

The slug of the Metabase question parameter this mapping targets.

Usages

#

References

#