2 Replies Latest reply on Feb 12, 2020 12:52 AM by andre.locher

    Update Data Source Connection for Textfile via REST API

    andre.locher

      I am trying to figure out if we can use the REST API (3.2) to update a Data Source connection for text files (textscan). I am currently selecting a directory and apply the wildcard union to select all files with a given pattern in that folder.

       

      The REST API documentation only mentions the following four attributes which don't seem to allow me to change the location of files:

      server-addressThe new server for the connection.
      portThe new port for the connection
      connection-usernameThe new username for the connection.
      connection-passwordThe new password for the connection.
      embed-passwordTrue to embed the password; otherwise, False.

      Reference-Tableau Server REST API - Tableau

       

      What I am looking for is a way to change the directory of the data source connection to pull the files from a different server.

       

      Thanks