Publish Data Source

Operation Name

Publish Data Source

Function Overview

Publishes data source to Tableau Server or Tableau Online.

Properties

For information about using variables, refer to "Variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resoure.
For how to set global resource, refer to "Global Resource Properties".
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
File Required Available Enter file path of the data source file.

Click [Browse] button to launch the file chooser and select the file.
Project Required Available Enter or select the project name.  
Data source name Required Available Enter a data source name.  
Overwrite Optional Not available Select whether to overwrite, if the data source already exists.  
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input Schema

None.

Output Schema

None.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
message_category Stores the category of message code corresponding to the occurred error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occurred error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occurred error.
  • Default value is null.
error_type Stores the error type of occurred error.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The value may vary depending on the DataSpider Servista version.
error_message Stores the error message of occurred error.
  • Default value is null.
  • The value may vary depending on the DataSpider Servista version.
error_trace Stores the trace information of occurred error.
  • Default value is null.
  • The value may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

None.

Main Exceptions

Exception name Cause Solution
InvalidPropertyConfigurationException
<Property name> is not specified.
[<Property name>] is not specified. Specify [<Property name>].
ResourceNotFoundException
Resource is not defined. Name:[]
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource is not defined. Name: [<Global resource name>]
Resource definition selected in [Destination] is not found. Check the global resource specified in [Destination].
InvalidPropertyConfigurationException
Specify Tableau data source file (*.tds; *.tdsx; *.tde).
The path entered in [File] is not Tableau data source file. Enter Tableau data source file (*.tds; *.tdsx; *.tde) in [File].
FileIsDirectoryException The path entered in [File] is directory. Enter file path in [File].
InvalidPropertyConfigurationException
The specified project is invalid.
The project entered in [Project] cannot be read. Check that the project specified in [Project] can be read by the user specified in [Destination].
javax.ws.rs.ProcessingException
java.net.ConnectException: Connection refused: connect
Could not connect to Tableau Server or Tableau Online. Check whether Tableau Server or Tableau Online is running normally.
javax.ws.rs.ProcessingException
java.net.SocketTimeoutException: connect timed out
Timeout has occured upon connection with Tableau Server or Tableau Online. Check the setting of [Connection timeout] in [Destination].
javax.ws.rs.ProcessingException
java.net.SocketTimeoutException: Read timed out
After connecting to Tableau Server or Tableau Online, timeout occurred during the reply of sending the request and receiving the response. Check the setting of [Response Timeout] in [Destination].
TableauResponseStatusException An error response was returned from Tableau Server or Tableau Online. Referring to the error message contents, check the Tableau Server or Tableau Online condition and the property settings specified in [Destination].