Vizpad-related actionTypes

Learn how to use Vizpad-related actionTypes in Tellius embedding to retrieve filters, columns, and resolutions, and control Vizpad or Viz behavior programmatically.

A partial list of actionTypes supported

The actionType field can be used with any of the given values to get results for different types of tasks. Here is a partial collection of actionTypes supported (with samples).

actionType values

Description

Sample code

getAllFiltersApplied

Provides the list of all filters

getVizpadFiltersApplied

Provides the list of all filters applied to a Vizpad

getVizFiltersApplied

Provides the list of all filters applied to a Viz

getBusinessViewColumns

Provides the list of columns in a Business View

getResolutionApplied

Provides the resolution applied to a Vizpad

Getting the list of columns in a Business View

For example, if the embedding app sends a postMessage with the actionType set as getBusinessViewColumns, Tellius sends back the following information:

{
    columns: ["list_of_columns"],
    columnNames: ["list_of_columnNames"],
    actionType: "BVCOLUMNS",
}

Applying resolution

Resolutions can be applied to both the Viz and Vizpad.

To a Viz

To a Vizpad

Last updated

Was this helpful?