Tableau Write

In this article

Overview

You can use this Snap to write data files to the Tableau server.

  • This Snap Pack has been implemented against & verified with the 9.1 version of Tableau server. 
  • To use this Snap, the Tableau libraries must be available on the Windows-based Snaplex nodes. This means that the Tableau server must have been installed on the server and be available to the Snaplex process. Where the Tableau server has not been installed, any attempted use of the Snap will cause exceptions to be thrown, error messages will be generated.
  • This Snap is not compatible with Linux Snaplexes.

Prerequisites

None.

Support for Ultra Pipelines

Works in Ultra Task Pipelines

Limitations

None.

Snap Input and Output

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream Snaps
InputDocument
  • Min:1
  • Max:1
  • CSV Parser
  • Copy
OutputDocument
  • Min:0
  • Max:1
  • Mapper
  • Copy

Snap Settings

Field Name

Field Type

Description


Label*

String

Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default Value: Tableau Write
Example: Tableau_Write

Datasource

String

Specify the Tableau datasource name on the server. If left empty, the name defaults to the current date and time. 

Default Value: N/A
Example: Annual Sales

Project

String

Specify the name of the folder on the Tableau server where the data will be written/extracted. This field can also be set as an expression.

Default Value: N/A
Example: Sales Analytics Project

Overwrite
 
Checkbox

Select this checkbox to overwrite an existing datasource with the same name. See https://onlinehelp.tableau.com/current/server/en-us/tabcmd_cmd.htm for more information.

Default Value:  Not selected

Append


Checkbox

Select this checkbox to append the extract file to the existing data source.  See https://onlinehelp.tableau.com/current/server/en-us/tabcmd_cmd.htm for more information.

Default Value:  Not selected 

No Cert Check


Checkbox

Select this checkbox to ignore server-side certificate checks and bypass security while establishing connection to Tableau. 

Default Value:  Not selected 

Snap Execution

Dropdown list

Select one of the three modes in which the Snap executes. Available options are:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Default Value: Execute only
Example: Validate & Execute

Troubleshooting

ErrorReasonResolution
"tabcmd not found"The tabcmd file is not picked up by the JCC path.

Install tabcmd in one of the folders that is available in the JCC's PATH.

To view the available folders in the JCC PATH:

  1. Navigate to jetty.log; if it does not exist then navigate to jcc_output.log.
    The system launches the PATH variable; you can view the folders available in that path.

    You can provide an absolute path to tabcmd file in one of the folders available in the jcc’s path for a Linux machine.

  2. Install the tabcmd file in one of the folders.
  3. Accept the End User License agreement.

Example


The following example Pipeline shows how to write data in a Tableau data source using the Tableau Write Snap:

 

In the Pipeline execution:

  1. A File Reader Snap provides the Fielding.csv file data to a CSV Parser Snap, which is then provided as an input to the Tableau Write Snap:

     
  2. The Tableau Write Snap specifies the data source, TableauWrite, and the Project, Test, where the Fielding.csv file data is written: 

     

    Successful execution of the Snap shows the following preview. A successful execution in Tableau is notified with return_code: "0"

     

Snap Pack History

 Click to view/expand
ReleaseSnap Pack VersionDateTypeUpdates

4.27

main12833

 

Stable

Upgraded with the latest SnapLogic Platform release.
4.26main11181 Stable

Added the following Tableau Snaps to support hyper extract files for Tableau 10.25 and later versions.

  • Hyper Formatter: Converts the incoming documents to Tableau hyper extract format and sends the output (extract) to the binary output view. 
  • Hyper Parser: Parses Tableau hyper extract files and converts them to a document format.
  • Hyper Write: Creates a hyper file in a temporary location (local disk) for incoming documents and publishes it to Tableau Server/Online without packaging it into a data source.
4.25425patches10994 Latest

Fixed an issue with Tableau REST Snap where the Snap was not able to filter or route the output data shows either duplicate records or incorrect results.

4.25main9554 StableUpgraded with the latest SnapLogic Platform release.
4.24main8556
 
Stable

Fixed an issue when updating user information in the Tableau REST Snap by not overwriting the site ID or user ID if the entries already exist.

Behavioral Change

In the 4.23 release, the Tableau REST Snap had a defect where it used site ID and user ID from the Tableau Account even if the selected REST operation required a site ID and/or user ID from the input document. This issue is fixed in the 4.24 release, so that the Snap uses values for the said IDs from the input document when available. Since this fix changes the Snap behavior, it is possible for production Pipelines to fail after the 4.24 release. Hence, you need to reconfigure the Tableau REST Snap using the site ID and user ID values from the input document.

4.23main7430
 
StableUpgraded with the latest SnapLogic Platform release.
4.22main6403
 
StableUpgraded with the latest SnapLogic Platform release.
4.21snapsmrc542
 
StableUpgraded with the latest SnapLogic Platform release.
4.20snapsmrc535
 
StableUpgraded with the latest SnapLogic Platform release.
4.19snaprsmrc528
 
StableUpgraded with the latest SnapLogic Platform release.
4.18snapsmrc523
 
StableUpgraded with the latest SnapLogic Platform release.
4.17ALL7402
 
Latest

Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.

4.17snapsmrc515
 
Latest

Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview check box.

4.16snapsmrc508
 
StableUpgraded with the latest SnapLogic Platform release.
4.15snapsmrc500
 
StableUpgraded with the latest SnapLogic Platform release.
4.14snapsmrc490
 
StableUpgraded with the latest SnapLogic Platform release.
4.13

snapsmrc486

 
Stable

Enhanced Tableau Snap Pack to support Tableau version 10.5 (Server version), this includes support for refresh task related REST API calls in the Tableau REST Snap.

4.12

snapsmrc480

 
StableUpgraded with the latest SnapLogic Platform release.
4.11snapsmrc465
 
StableUpgraded with the latest SnapLogic Platform release.
4.10

snapsmrc414

 
StableUpgraded with the latest SnapLogic Platform release.
4.9

snapsmrc405

 
Stable
  • Extended the support for Tableau 9 and 10 REST Snap to access the TDE files on S3 (using the IAM role on the Snap Account).
  • Support extended for Tableau 10.1 server version.
  • Updated the Snap account with the properties, XML Schema URL and API version (other).
  • Updated the Snap account with Access Key ID, Secret Key and IAM role to support access to files on S3.
  • Tableau REST Snap extended support to access the TDE files on S3.
4.8

tableau92770

 
Latest

Addressed an issue where the TDE Formatter threw a Field conversion failed error.

4.8

snapsmrc398

 
StableUpgraded with the latest SnapLogic Platform release.
4.7

snapsmrc382

 
StableUpgraded with the latest SnapLogic Platform release.
4.6

snapsmrc362

 
Stable
  • Enhanced to support chunking when publishing large files for the Tableau 9&10 REST Snap. 
  • Enhanced error reporting when fields are improperly mapped from input Tableau 9&10 REST Snap. 
  • Enhanced error handling to appropriately route errors in the Tableau 9&10 Write Snap. 
  • Enhanced error handling to appropriately route errors in the Snap for the TDE Formatter Snap.
  • Extended the TDE Formatter Snap support for Linux Snaplexes. 
  • Doc Enhancement: Examples added to Tableau 9 Snap documentation.
  • Resolved an issue in Tableau REST Snap that caused failures when publishing workbook and datasources. 
  • Resolved an issue in TDE Formatter and Tableau REST Snap that cause errors on Windows Groundplex.
  • Resolved an issue in Tableau REST Snap that only made available 100 entries of datasource.
4.5.1

tableau91634

 
Latest
  • Initial release of the Snap Pack with Tableau 9&10 REST, Write and the TDE Formatter Snaps.

  • Supports Tableau 9.1 version of Tableau server.