The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
docs: pdfs in subscriptions (#77610)
Michael Eby6c25c7874046
diff --git a/docs/dashboards/introduction.md b/docs/dashboards/introduction.mdindex 5d771b7c216..f9bd5885e61 100644--- a/docs/dashboards/introduction.md+++ b/docs/dashboards/introduction.md@@ -331,6 +331,8 @@ Public links can be viewed by anyone, even if they don't have access to MetabaseYou can export the entire dashboard as PDF, or export results of individual questions on the dashboard. See [Exporting results](../questions/exporting-results.md).+To get a PDF of a dashboard delivered on a schedule, [attach a PDF to a dashboard subscription](./subscriptions.md#attach-a-pdf-of-the-dashboard).+## Configuring a dashboard through its URLYou can amend the URL of a dashboard to automatically enter fullscreen or auto-refresh the dashboard. Customizing the dashboard's URL allows you to configure the dashboard - even when you do not have any input access to the device where the dashboard will be displayed, like scripted screens, for example.diff --git a/docs/dashboards/subscriptions.md b/docs/dashboards/subscriptions.mdindex b96ba5b0957..c09edcf2106 100644--- a/docs/dashboards/subscriptions.md+++ b/docs/dashboards/subscriptions.md@@ -79,8 +79,6 @@ This is helpful for dashboards that are displaying time-limited results (for exaWhen configuring an email subscription, you can tell Metabase if it should attach results to the email as a file, in addition to displaying the table in the email body.-Currently, you can only send attachments with question results. You can't send the whole dashboard as a PDF attachment.-If you've added filters to your dashboard and set default values for those filters, Metabase will apply those default values to your subscriptions, filtering the results of all questions that are connected to those filters when the subscriptions are sent. To learn more, check out [dashboard filters](./filters.md).### File format@@ -104,6 +102,20 @@ The attached files will include up to 1 048 575 rows by default (Excel's row limYou can toggle on "Send only attachments (no charts)" if you want to receive just the .csv or .xlsx files without the charts. Remember to select the results you want to attach in "Questions to attach" above the toggle.+## Attach a PDF of the dashboard++To attach a PDF of the dashboard to your subscription, enable the **Attach a PDF of the dashboard** toggle in the subscription settings. When the subscription runs, Metabase generates the PDF and attaches it to the email or Slack message.++The PDF attachment follows the layout of your dashboard. Cards appear in the same arrangement as the dashboard, and each tab starts a new page. Some cards may display differently than they do in your browser. For example, tables that scroll on the dashboard may display all of their columns in the PDF.++Metabase generates the PDF on the Metabase server, which means:++- Generating the PDF can take a minute or more.+- The PDF uses a light theme. It doesn't follow the theme you set in your browser.+- The PDF can differ in small ways from the dashboard in your browser. For example, map legends may display in a different position, and charts with many small segments may hide some labels.++Iframe cards created from a URL display as links. Iframe cards created from embed code display "Unable to render this card".+## Adding multiple subscriptionsYou can add multiple subscriptions to a single dashboard. To add a subscription, click on the **+** icon in the dashboard subscription panel.diff --git a/docs/questions/exporting-results.md b/docs/questions/exporting-results.mdindex 749577af926..45451f29698 100644--- a/docs/questions/exporting-results.md+++ b/docs/questions/exporting-results.md@@ -109,6 +109,8 @@ You can export a dashboard as a PDF. Click on the **Sharing** button, then selecThe PDF will only include screenshots of the charts as they are visible on the dashboard.+To get a PDF of a dashboard delivered on a schedule, [attach a PDF to a dashboard subscription](../dashboards/subscriptions.md#attach-a-pdf-of-the-dashboard).+### Exporting results of a dashboard cardTo export the results of a particular card, hover over the dashboard card, click on the three dot menu (**...**), and select **Download results**.@@ -128,7 +130,7 @@ If you don't see this option, you may not have [permissions to download results]### Exporting results of a dashboard via dashboard subscriptions-You can use [dashboard subscriptions](../dashboards/subscriptions.md) to regularly export data from all questions on a dashboard, and include those results as an attachment.+You can use [dashboard subscriptions](../dashboards/subscriptions.md) to regularly export data from all questions on a dashboard, and include those results as an attachment. You can also [attach a PDF](../dashboards/subscriptions.md#attach-a-pdf-of-the-dashboard) of the entire dashboard.## Remove Metabase branding from exports