Desktop app batch file

Parent Previous Next

DataSelf Desktop has an internal application that can trigger extract refreshes on the Web Server.

To use this method, Desktop needs to be installed on the same server that has the scheduling program (SQL Agent or Windows Task Scheduler). But the DataSelf Web Server can be on another server in the network.


Use the following batch file, changing the red text as needed.




C:

cd \Program Files\DataSelf\DataSelf Desktop 10.0\bin

tableau refreshextract --server http://Server12 --username dataself --password jxyxyx --datasource "SA Sales" --project "Data Sources" --source-username dataself --source-password jxyxy

@echo off

echo 0

@echo on




NOTES



Example of multiple data sources:


C:

cd \Program Files\DataSelf\DataSelf Desktop 10.0\bin

tableau refreshextract --server http://Server12 --username dataself --password jxyxyx --datasource "SA Sales" --project "Data Sources" --source-username dataself --source-password jxyxy

tableau refreshextract --server http://Server12 --username dataself --password jxyxyx --datasource "GL Transaction History" --project "Data Sources" --source-username dataself --source-password jxyxy

tableau refreshextract --server http://Server12 --username dataself --password jxyxyx --datasource "IN Inventory OH Today" --project "Data Sources" --source-username dataself --source-password jxyxy

@echo off

echo 0

@echo on







Previous      Next