superset icon indicating copy to clipboard operation
superset copied to clipboard

Support for emailing reports at regular intervals?

Open jasonshah opened this issue 10 years ago • 24 comments

Hi, I started exploring Caravel this past week, and I'm loving it. I am exploring working with my engineering team to roll it out as an enhancement/replacement to our internally-built reporting solution.

Are there any plans to support emailing a Dashboard nightly/weekly to users as PDF? While the solution is obviously more powerful when you interact with it on the web, there are a number of users who could benefit from what Dashboards offer if they could see an email with a snapshot of the Dashboard in-line or as an attached PDF. A user would be able to request a Dashboard to be emailed to them nightly or weekly on a specified date, and the admin would be able to configure the email server through which the Dashboard is sent.

This would allow us to centralize towards use of Caravel as a platform for more use cases, vs. implementing/retaining another solution that is specifically suited to this purpose.

(I would have posted this to the Google Group, but my membership is still pending.)

jasonshah avatar Oct 02 '16 15:10 jasonshah

Hi @jasonshah, we're currently discussing the addition of a feature like this internally. Specifically we'd like to support an api for fetching a static image of a given chart or dashboard, which could then easily extended to send out emails automatically.

Will post back as soon as we've settled on a technical solution for the implementation and have a better idea of the timeline.

cc @ascott

williaster avatar Oct 02 '16 21:10 williaster

Hi Williaster, I have tried to implement this feature for one of the chart, I have ended up with the idea of writing response content of the "standalone endpoint" to PDF.So that we can get static charts in PDF format.

but I couldn't able to add one more option for PDF export in the "js-explore-actions". @sidnakoppa

malleshm avatar Oct 12 '16 14:10 malleshm

do you have a PR, or can you provide more information about how you implemented the pdf export?

we are thinking about using a headless browser to take screenshots of dashboards (so the result would be a .png) with a couple of size options. adding the ability to directly download a chart from the explore page would also be pretty cool and potentially useful.

williaster avatar Oct 12 '16 17:10 williaster

Seconded. I'm very interested in this feature being added.

tjspross avatar Nov 06 '16 14:11 tjspross

+1

ErikThoreson avatar Apr 04 '17 16:04 ErikThoreson

I worked on integrating a headless browser to render chart images but never got around to finish the work: https://github.com/mistercrunch/superset/tree/phantom

If someone want to take over this branch, wrap things up and submit a PR you're welcomed to do so.

mistercrunch avatar May 13 '17 22:05 mistercrunch

Definitely is a hotly requested feature from our userbase.

htruongaff avatar Jun 20 '17 20:06 htruongaff

@htruongaff then that's a good chance to contribute the work and make both the superset community and your userbase happy 👍

xrmx avatar Jun 21 '17 07:06 xrmx

Any updates on this? @williaster

kotharitrisha avatar Aug 10 '17 22:08 kotharitrisha

@htruongaff , do we have any update on this post. we are also looking for the same feature.

deyani27 avatar Sep 07 '17 23:09 deyani27

+1

jxb45 avatar Sep 11 '17 15:09 jxb45

Any update on this?

We're looking for a similar kind of feature, and would be keen to collaborate on its creation.

corvilpm avatar Oct 31 '17 10:10 corvilpm

@corvilpm looking forward to your pr 👍

xrmx avatar Oct 31 '17 11:10 xrmx

Is there an existing fork or branch where this project has been started?

corvilpm avatar Oct 31 '17 13:10 corvilpm

+1

deyani27 avatar Oct 31 '17 16:10 deyani27

+1

Tsuki avatar Feb 12 '18 20:02 Tsuki

+1 for regular PDF email support

manishkhorgade avatar Mar 14 '18 15:03 manishkhorgade

Hello. We also need this feature badly.

kuvsh avatar Mar 20 '18 22:03 kuvsh

+1

afullana avatar Jun 13 '18 12:06 afullana

I have a PR for this feature - https://github.com/apache/incubator-superset/pull/5294

  • Scheduled email reports for slice and dashboard visualization (Attachment or inline)
  • Scheduled email reports for slice data (CSV attachment on inline table)

Use Firefox / Chrome headless browsers. It also works with phantomjs, if needed.

mahendra avatar Jul 03 '18 15:07 mahendra