Class

This message is used when a widget needs to announce its changes on data source filter to other widgets. This message carries the data source ids that the filter has changed. Other widgets within an experience may subscribe to this message and implement an update workflow when the message is received. For example: Map widget is triggered by Filter widget to zoomTo current features.

Implements

Properties

PropertyTypeNotes
backgroundTriggerboolean

Indicates whether this message is triggered in background mode.

clearFilterDataSourceIdsstring[]

When a widget clears all filters for a ds, 'filter-data-record-action' and 'select-data-record-action' need to reset the corresponding filters/selections. Therefore, this property is used to notify which dataSource filters were cleared by the widget.

dataSourceIdstring

The data source id that emitted this message.

dataSourceIdsstring[]

The id of the data source.

typeMessageType

The message type.

widgetIdstring

The widget id from which the message is sourced. If a widget id is not provided, the message is provided by the Jimu framework.

backgroundTrigger

Class Property
backgroundTrigger: boolean

Indicates whether this message is triggered in background mode.

clearFilterDataSourceIds

Class Property
clearFilterDataSourceIds: string[]

When a widget clears all filters for a ds, 'filter-data-record-action' and 'select-data-record-action' need to reset the corresponding filters/selections. Therefore, this property is used to notify which dataSource filters were cleared by the widget.

dataSourceId

optional
Class Property
dataSourceId: string

The data source id that emitted this message.

dataSourceIds

Class Property
dataSourceIds: string[]

The id of the data source.

type

Class Property
type: MessageType = MessageType.DataSourceFilterChange

The message type.

widgetId

Class Property
widgetId: string

The widget id from which the message is sourced. If a widget id is not provided, the message is provided by the Jimu framework.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.