This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//We use this code to retrieve data directly from Tableau server 10.1 from our Node.js server | |
//This is just a simplified example, not the actual code :) | |
// You need to fill in all the things in < > | |
const tableauServer = 'https://<IP OF YOUR SERVER>/trusted'; | |
const username = '<username of a valid user to view the data>'; | |
const reportPath = '/views/<WORKBOOK>/<view>'; | |
const request = require('request-promise-native'); | |
//This is optional, you can add filter parameters directly into the URL | |
//Check if you need to URI encode the parameter value |
OlderNewer