InTouch Hub · Blue Isle Software

Tableau

Export a Tableau view as CSV, PDF or PNG through the Tableau REST API. No Tableau client library required.

Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.

bibusinessbusiness-intelligenceexportintelligencereporttableau

Tableau Export

InTouch JAR plugin tool (IToolConnector) that exports a Tableau view over the Tableau REST API. No vendor SDK — no Tableau client library — just java.net.http.HttpClient + Jackson, so it builds with the same dependency set as the other Blue Isle tools.

Operation

export-view

Exports a Tableau view to PDF, CSV, or PNG via the Tableau REST API.

  1. Signs in with a Personal Access Token: POST /api/3.19/auth/signin with personalAccessTokenName / personalAccessTokenSecret + the site contentUrl → returns the auth token and the site id.
  2. Exports the view: GET /api/3.19/sites/{siteId}/views/{viewId}/{pdf|data|image} with the X-Tableau-Auth header.
  3. Signs out.

Task fields

Field Description
viewId The view LUID to export (required).
format pdf (default), csv/data, or png/image.
outputPath Optional file to write the export to.

Published: outputPath, bytes, format, viewId, and (for CSV) rowCount / data.

Credential

Field Description
server Tableau server base URL (e.g. https://tableau.acme.com).
site Site contentUrl (blank = Default site).
tokenName Tableau Personal Access Token name.
secret Tableau Personal Access Token secret.

testCredential does a PAT sign-in probe against the server, then signs out.

Example task JSON

Tableau view → PDF on disk:

{
  "viewId": "a1b2c3d4-0000-1111-2222-333344445555",
  "format": "pdf",
  "outputPath": "/data/reports/q3-sales.pdf"
}

Tableau view → CSV (inline data published when no outputPath):

{
  "viewId": "a1b2c3d4-0000-1111-2222-333344445555",
  "format": "csv"
}

Build

./gradlew :intouchtools:tools:tableau-export:build

Self-Contained JAR

The jar bundles all runtime dependencies; only intouch-tool-api is provided by the server.

Publishes

The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.