# Vizpad-related actionTypes

### **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).

<table data-header-hidden><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>actionType values</strong></td><td><strong>Description</strong></td><td><strong>Sample code</strong></td></tr><tr><td>getAllFiltersApplied</td><td>Provides the list of all filters</td><td><pre class="language-javascript"><code class="lang-javascript">telliusFrame.postMessage({
    actionType: "getAllFiltersApplied"
}, "*");
</code></pre></td></tr><tr><td>getVizpadFiltersApplied</td><td>Provides the list of all filters applied to a Vizpad</td><td><pre class="language-javascript"><code class="lang-javascript">telliusFrame.postMessage({
    actionType: "getVizpadFiltersApplied"
}, "*");
</code></pre></td></tr><tr><td>getVizFiltersApplied</td><td>Provides the list of all filters applied to a Viz</td><td><pre><code>telliusFrame.postMessage({
    actionType: "getVizFiltersApplied"
}, "*");
</code></pre></td></tr><tr><td>getBusinessViewColumns</td><td>Provides the list of columns in a Business View</td><td><pre class="language-javascript"><code class="lang-javascript">telliusFrame.postMessage({
    actionType: "getBusinessViewColumns"
}, "*");
</code></pre></td></tr><tr><td>getResolutionApplied</td><td>Provides the resolution applied to a Vizpad</td><td><pre class="language-javascript"><code class="lang-javascript">telliusFrame.postMessage({
    actionType: "getResolutionApplied"
}, "*");
</code></pre></td></tr></tbody></table>

### **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:

```javascript
{
    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**

```javascript
telliusFrame.postMessage({
    actionType: "resolution",
    vizId: "ID_of_Viz",
    resolution: "monthly",
}, "*");
```

#### **To a Vizpad**

```javascript
telliusFrame.postMessage({
    actionType: "resolution",
    resolution: "monthly",
}, "*");
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tellius.com/tellius-6.3/embedding-tellius/embedding-url/embedding-vizpads/vizpad-related-actiontypes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
