Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AskData

The interface for the top level AskData object.

deprecated

Hierarchy

Index

Properties

Optional debug

debug: undefined | false | true

Indicates whether the non-minified version of JavaScript is loaded. If specified (or set to true), the non-minified version is used for both the local component and the Tableau Server visualization (if enabled). If not specified (or set to false), the minified version of the JavaScript files are loaded.

<tableau-viz id="tableauViz" debug />
<tableau-authoring-viz id="tableauViz" debug />
<tableau-ask-data id="tableauAskData" debug />

Optional height

height: string | number

Represents height in pixels Can be any valid CSS size specifier. If not specified, defaults to the published height of the view.

Optional iframeAuth

iframeAuth: undefined | false | true

Indicates whether to use the old auth mechanism for authentication which happens inside the iframe. If specified, VizLoadErrorEvents triggered due to auth failures will not be thrown.

<tableau-viz id="tableauViz" iframe-auth />
<tableau-authoring-viz id="tableauViz" iframe-auth />
<tableau-ask-data id="tableauAskData" iframe-auth />

Optional origin

origin: undefined | string

Used for telemetry

<tableau-ask-data id="tableauAskData" origin="embeddingSite">

Optional showEmbed

showEmbed: undefined | false | true

Indicates whether the embed button is hidden or visible.

<tableau-ask-data id="tableauAskData" show-embed>

Optional showPin

showPin: undefined | false | true

Indicates whether the pin button is hidden or visible.

<tableau-ask-data id="tableauAskData" show-pin>

Optional showSave

showSave: undefined | false | true

Indicates whether the save button is hidden or visible.

<tableau-ask-data id="tableauAskData" show-save>

Optional showShare

showShare: undefined | false | true

Indicates whether the share button is hidden or visible.

<tableau-ask-data id="tableauAskData" show-share>

Optional src

src: string | null

The viz src

Optional token

token: undefined | string

The token used for authorization

<tableau-viz id="tableauViz" token="some-token-containing-clientId" />
<tableau-authoring-viz id="tableauViz" token="some-token-containing-clientId" />
<tableau-ask-data id="tableauAskData" token="some-token-containing-clientId" />

Optional width

width: string | number

Represents width in pixels Can be any valid CSS size specifier. If not specified, defaults to the published width of the view.