Tableau Javascript API
- Yash Reddy
- Oct 15, 2015
- 1 min read
Getting Started with the Tableau Javascript API
BY Yashwanth Garlapati · OCTOBER 20, 2014
Tableau offers an API that lets you embed visualizations on the web and then control them via javascript functions. This handy utility can be used to do all kinds of cool things which I will share in the future. First though, here’s how you can get started.
What you need
Web Server
The Javascript API is for Web only (sorry Desktop) and requires that the code be hosted outside of the Tableau environment, so you’ll need a web server to host your files on. For experimentation, you can just run everything off of your local drive. All you need is a web browser!
API Files
This is a single file that contains all of the API code. You just have to include it. A minified version can be found on publichere, or you can grab your specific version from your Tableau Server installation at Program Files\Tableau\Tableau Server\8.2\wgserver\public\javascripts\api as well as the debug version which is cleanly formatted.
Tutorial
Tableau has some excellent resources to get you going, so check out the video, online interactive tutorial and detailed API Reference via the links below.
Resources:
Intro Video: http://www.tableausoftware.com/learn/tutorials/on-demand/javascript-api-intro-and-embed
Online Tutorial: http://onlinehelp.tableausoftware.com/samples/en-us/js_api/tutorial.htm
API ref: http://onlinehelp.tableausoftware.com/v0.0/server/en-us/help.htm#js_api_ref.htm
Recent Posts
See AllEvolving BI BY Sridhar · MARCH 30, 2014 It’s been almost a year since I’ve written a new post. The main reason for that is that things...
By popular demand, here are my thoughts on comparing the current state of MicroStrategy and Tableau, two of the leaders in the BI market...
Comments