Step 1: Install and set-up BLAT go to: http://sourceforge.net/projects/blat/files download latest version extract copy all files within to C:\WINDOWS\System32 open command prompt run: c:\ blat -install [server address] [sender's email address] example:: blat -install emailserver.company.com useraccount@company.com test: c:\ blat C:\testfile.txt -s test_subject -to useraccount@company.com blat syntax Step 2: GetReport.bat :: Change directory to tabcmd location cd "C:\Program Files (x86)\Tableau\Tableau Server\9.2\bin" :: login to Tableau via tabcmd tabcmd login -s http://localhost:8000 -username fshih -password password -no-prompt :: run tabcmd get :: reports are saved to pdf tabcmd get "views/Sales/GrowthofWalmart" -f "C:\Users\fshih\Downloads\test.pdf" :: logout of tabcmd when done tabcmd logout :: back to root cd \ :: send email with pdf attachme...
Comments
Post a Comment