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.
- name:
tableau-export - displayName: Tableau
- provider: Blue Isle Software
- version: 1.0.0
- category: Reporting
- credentialBased: true
- license: none (non-enterprise —
licenseRequired()is false)
Operation
export-view
Exports a Tableau view to PDF, CSV, or PNG via the Tableau REST API.
- Signs in with a Personal Access Token:
POST /api/3.19/auth/signinwithpersonalAccessTokenName/personalAccessTokenSecret+ the sitecontentUrl→ returns the auth token and the site id. - Exports the view:
GET /api/3.19/sites/{siteId}/views/{viewId}/{pdf|data|image}with theX-Tableau-Authheader. - 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.
bytesdataformatoutputPathrowCountviewId