What's New in the JavaScript API

What's new in the JavaScript API for Tableau Server 10.3

This section lists changes that were made for the version of the JavaScript API that ships with Tableau Server 10.3.

Toolbar Functions

You can now access toolbar buttons so that you can customize the controls for the visualization. In this release, you can call methods to control the Undo and Redo buttons and set up an event listener to monitor toolbar state changes. For more information, see API Reference.

Added to the JavaScript API for Tableau Server 10.0

This section lists changes that were made for the version of the JavaScript API that ships with Tableau Server 10.0.

Get Data for Visualizations

You can now get the data that was used to create the currently displayed visualization. Use the getSummaryDataAsync method and the getUnderlyingDataAsync method to get data for the currently active sheet. The getSummaryDataAsync method displays aggregated data for the fields used in the current view, that is, it displays data only for the measures and dimensions used to create the view. The getUnderlyingDataAsync method displays data for all fields in the data source that is used by the current view. For more information, see Get Data and the API Reference.

Added to the JavaScript API for Tableau Server 9.1

This section lists changes that were made for the version of the JavaScript API that ships with Tableau Server 9.1.

Easier way to load the latest version of the API

You can load the JavaScript API library using a file name that contains only the major version number, such as tableau_2.min.js. This in turn loads the most recent version of the library.

For details, see Accessing the API.


Thanks for your feedback! There was an error submitting your feedback. Try again or send us a message.