Widgets can interact with each other through related callback IDs, see Configure widget interaction. By using callback IDs, if you click a widget, data of a widget with the corresponding callback ID will change accordingly.

Using a timeline widget as an example, with a callback ID, after you click a timestamp the map widget displays detailed information of this timestamp, see Configure widget interaction.

Set a callback ID

A callback ID can be considered as a parameter variable that is used to control the transmission of parameters between widgets, and realize interactions between them (that is, if data of one widget is updated, other widgets with the same callback ID are also updated).
Note Callback ID is not supported if the Data Source Type is Static Data or a CSV file.

For instance, if you click a scattered point in a map, click a row in a list, or select a time point on a time table, the system temporarily stores the designated callback ID, for example, name, into the name variable.



Set variable input

When the Data Source Type is SQL or API, you can directly input the variable.
select :name as value
select A from table where year = :name

If you are using an API data source, the system directly assigns value to the variable parameters with the same name.