I need to subscribe to different workbooks.
Users are asking for the possibility to get single email for multiple workbooks.
In that case the only option I know of is to use tabcmd to export the images, and then use a script (say in Powershell) to send them via email.
This would work, but would need to be created, managed and scheduled outside of Tableau Server itself.
Hope this help
Can you please elaborate the process with required script?
The powershell script would look something like this.
You will need update the variables below to make it specific to your organisation (ie Tableau info, SMTP Server information, etc etc), but this should work.
Additionally, if you wanted to you could embed the images in the actual email itself.
(sorry, I haven't got time right now to do this, but if this is an option for you I can try to put something together later)
You will need to save the script with a .ps1 extension, and then run it using powershell.
$server = "http://tableau.yourcompany.com"
$username = "admin"
$password = "password"
$Folder = "C:\temp\"
$tabcmd = "C:\Program Files\Tableau\Tableau Server\10.2\bin\tabcmd.exe"
$SMTP_Server = "mail.YourCompany.com"
$From_Address = "tableau@YourCompany.com"
$To_Address = "email@example.com"
$subject = "Your Daily Report"
$port = 25
$URL1 = "/views/Superstore/Overview.png"
$file1 = $Folder + "Image1.png"
$URL2 = "/views/Regions/HighLevel.png"
$file2 = $Folder + "Image2.png"
& $tabcmd login -s $server -u $username -p $password
& $tabcmd get $URL1 -f $file1
& $tabcmd get $URL2 -f $file2
& $tabcmd logout
Send-MailMessage -SmtpServer $SMTP_Server -From $From_Address -To $To_Address -Subject $subject -Port $port -Attachments $file1, $file2
1 of 1 people found this helpful
Like Glen mentioned, this isn't currently possible with Tableau Server / Online right out of the box. You'd need to look into custom solutions. You can write your own script using tabcmd, as Glen demonstrates, but there are also partners of Tableau who provide tools that do this. I believe Metric Insights does. There's also an open-source project that I and Jonathan Drummey collaborated on that will also do this (and more), called VizAlerts. (not officially supported, mind you). It comes with the disadvantage that you'll still have another separate process to manage, but if you don't want to pay anything extra but want to give the ability to any user to do this multiple-viz email thing on their own workbooks, it should work quite well.