Loading

How to set up development environment and build a sample web data connector

Publiceringsdatum: May 23, 2025
Förkrav
Make sure that the following dependencies have been installed: Node version 16 and npm version 7 and above Python 3.7 or higher JDK 11 or higher
Uppgift

The current KCS is based on this guide: https://help.tableau.com/current/api/webdataconnector/en-us/index.html

The objective of this KCS is adding more details for the steps to set up the development environment and build a sample web data connector , especially  when install the TACO Toolkit for the different version of Tableau Desktop, the command need pass some parameter to specify the Tableau Desktop version, which could install the right toolkit, and generate the correct manifest.xml file to list the web data connector.

 

Steg
  1. Make sure that the following dependencies have been installed correctly.

Node version 16 and npm version 7 and above

Python 3.7 or higher

JDK 11 or higher

  1. Install the TACO Toolkit by opening your terminal and typing the following command: 

npm install -g @tableau/taco-toolkit@tableau-version

 for example: npm install -g @tableau/taco-toolkit@tableau-2023.1

  1. Create a parent directory for example:  C:\Users\xxx\Documents\My Tableau Connectors,  and navigate to that directory.
  2.  Enter the following command to create the connector: 

taco create my-first-connector --boilerplate earthquake-data

  1. Change directories to the my-first-connector  directory
  2. Build and then create the connector by entering the following command:

taco build

taco pack

  1. Type the following command to run the connector, which launch Tableau Desktop,  Select the connector "Earthquake Data Connector by vendor-name" 
  2. Tableau loads the default system browser to show the connector user interface (UI)
Knowledge-artikelnummer

002232072

 
Laddar
Salesforce Help | Article