Search code examples
dockerapache-superset

How to edit apache superset's report email


I am running apache superset 2.0.0-dev. Everything works great. I just want to change the text that comes inside the report emails. Here is a photo of the current email it sends (this is just some example dashboard that superset provides): enter image description here The text in the hyperlink that I circle is what I want to change. I have already gone through a lot of the code looking for that string "Explore in Superset". As well as searched through the repo on github

I changed every instance I can find of the string "Explore in Superset" to the text I want, but none have an effect on the email that is sent.


Solution

  • It looks like you'd make the change in email.py, changing the value of the call_to_action variable.

    This doesn't appear to be a user-configurable setting. That is, if you were deploying using Docker containers, you would have to build your own image of Superset that contains this change, then run that image.