This sample shows how to set up a simple write-back extension that writes to an MS SQL database. While this sample is simply using MS SQL, the same principles could be applied to any database or application that allows programmatic access.
To download this project, remix it and click on Tools at the bottom, then Git, Import, Export then Download Project.
Download the workbook. Note: SQL Server no longer up
Get the database schema.
You can watch the recording of the live stream where I built this extension on Youtube
To learn more about the Extensions API and find other samples check out our documentation!
You can sign up for your own free developer sandbox site to test out the Extensions API and other features! Join today!
Tableau Developer Program - Sign up for events and a free developer sandbox site
Glitch - Free live app hosting with collaborative coding environment
Express - Web framework for Node.js
SQL Server Management Studio - Environment to manage SQL servers
Visual Studio Code - Integrated development environment
Bootstrap - Front-end component library
MSSQL - Node package for Microsoft SQL Server
jQuery - Popular JavaScript library
EJS - Simple template language
Extensions API - Documentation and reference
TREX Generator - Quickly create a .trex file