1 Reply Latest reply on Aug 28, 2015 2:22 PM by diego.medrano

    When using tabcmd to publish a data source, how do you specify "remove the extract" option when an extract is not found for that data source?

    sanjay.kalantry

      When publishing a data source via Tableau Desktop, there is a prompt which pops-up when the associated extract is not found.  This dialog box has an option to "remove the extract" as one of its options.  When selecting the "remove the extract" option, the data source is published successfully (after a subsequent dialog window).

       

      However, when I use tabcmd to publish the same data source, I am unable to determine which option I should specify to achieve the same results.  I'm using the following commands (with their outputs) to publish the data source (please note that I have masked the server, user, password, and data source identifiers):

       

      C:\temp>"C:\tabcmd9\Command Line Utility\tabcmd.exe" login --server "tabserver:8000" --username "tabuser" -password "tabpassword"

      ===== Creating new session

      =====     Server:   http://tabserver:8000

      =====     Username: tabuser

      ===== Connecting to the server...

      ===== Signing in...

      ===== Succeeded

       

      C:\temp>"C:\tabcmd9\Command Line Utility\tabcmd.exe" publish "myTableauDS.tds" --project "System Published Reports" --overwrite --no-certcheck

      ===== Continuing previous session

      =====     Server:   http://tabserver:8000

      =====     Username: tabuser

      ===== Publishing 'myTableauDS.tds' to the server. This could take several minutes...

        *** Bad request

      DataFile::DataFile (path='C:\temp\Tableau\myTableauDS.tds Files\Data/Extracts/extract.tde', writable=false): The system cannot find the path specified.