3 Replies Latest reply on Jan 15, 2018 3:23 AM by Glen Robinson

    Refreshing Data Source via APIs w/o overwriting metadata

    Kevin Maroney

      Hi All,

       

      I am using Tableau's APIs to upload and publish data to our Tableau Server (doing this through Alteryx). There is a pre-built macro that I am trying to customize to just refresh the data of a data source and not overwrite the metadata (calculated fields, folder structure, etc.)

       

      Is there a parameter or specific way to that I can achieve this given the API calls that are available to me. I've been doing research through the documentation ( https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Publish_Datasource  ) but to no avail.

       

      Any help would be appreciated !

       

      Ideal Solution:

       

      • Connect to local .tde
      • Create calcs and meteadata around .tde
      • publish that .tde to tableau server (is this what is referred to as a .tds(x)??)
      • then using the API calls, refresh that data source on the server while maintaining all of the metadata around the data source

       

      Best,

      Kevin