tableau / VizAlerts

Data-driven alerting for Tableau Server
MIT License
211 stars 91 forks source link

Setting a customized mail header and body #202

Closed amirne1 closed 11 months ago

amirne1 commented 1 year ago

Hi all, We are going to use VizAlerts in embedded Tableau for our external customers. Does anyone familiar with a way to customize the mail header and body by adding my own text template? Thanks in advance. Amir.

mcoles commented 1 year ago

I'm not familiar with how you might use VizAlerts in an embedded scenario--would it be possible to explain that use case in more detail? It sounds interesting.

As the alert creator, you can easily customize the header and footer using the Email Header and Email Footer fields, and format the content using HTML strings. However, you cannot enforce them if you are giving your users the ability to edit those fields, because then they can change them to whatever they want. That's why I think it will be helpful to better understand what you are trying to do with the embedded situation. If you are exposing a web form that only lets them fill in specific parts of the email content, then it may be as simple as setting the header and footer field calcs the way you want, but only exposing the Email Body field to the end users.