Skip to content

Commit 2f5a2e2

Browse files
(DOCSP-26646) Email sharing and scheduling (#592)
* (DOCSP-26646) Email sharing and scheduling --------- Co-authored-by: davidhou17 <[email protected]>
1 parent c8f1d91 commit 2f5a2e2

File tree

3 files changed

+190
-0
lines changed

3 files changed

+190
-0
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ json = ":abbr:`JSON (Javascript Object Notation)`"
5757
jwt = ":abbr:`JWT (JSON Web Token)`"
5858
cloud-svc = "Cloud"
5959
css = ":abbr:`CSS (Cascading Style Sheets)`"
60+
pdf = ":abbr:`PDF (Portable Document Format)`"
6061
png = ":abbr:`PNG (Portable Network Graphic)`"
6162
iot = ":abbr:`IoT (Internet of Things)`"

source/dashboards.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ tasks:
326326

327327
/manage-dashboards
328328
/dashboard-permissions
329+
/scheduled-reports
329330
/dashboard-refresh
330331
/dashboard-filtering
331332
/interact-with-charts

source/scheduled-reports.txt

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
:noprevnext:
2+
3+
.. _scheduled-reports:
4+
5+
==========================
6+
Schedule Dashboard Reports
7+
==========================
8+
9+
.. default-domain:: mongodb
10+
11+
.. contents:: On this page
12+
:local:
13+
:backlinks: none
14+
:depth: 1
15+
:class: singlecol
16+
17+
Scheduled Reports
18+
-----------------
19+
20+
You can create, edit, and delete scheduled reports for your dashboard.
21+
A scheduled report automatically sends a snapshot of dashboard data to
22+
a group of users at a regular frequency.
23+
24+
To view your scheduled reports, click :guilabel:`Reports` in the
25+
sidebar of the |charts-short| UI, under :guilabel:`Scheduling`.
26+
27+
Required Permissions
28+
~~~~~~~~~~~~~~~~~~~~
29+
30+
To create, edit, and delete scheduled reports for a dashboard, you must
31+
have:
32+
33+
- The :guilabel:`Owner`
34+
:ref:`dashboard permission <dashboard-permissions>`
35+
role for your |charts-short| dashboard.
36+
- Write access to your |service| project through an |service|
37+
:atlas:`user role </reference/user-roles/#project-roles>`.
38+
39+
.. note::
40+
41+
If you have the :authrole:`Project Owner` user role, you can view all of the
42+
scheduled reports in a project. To edit and delete reports for that dashboard,
43+
you must also have the :guilabel:`Owner` dashboard role.
44+
45+
Limitations
46+
~~~~~~~~~~~
47+
48+
- For free and shared tier clusters (``M0``, ``M2``, and ``M5``), you
49+
can create one scheduled report per project.
50+
51+
- For paid-tier clusters (``M10+``), you can create up to 100 scheduled
52+
reports per project.
53+
54+
- At this time, scheduled reports can only be sent by email.
55+
56+
.. _create-scheduled-report:
57+
58+
Create a Scheduled Report
59+
-------------------------
60+
61+
To create a new scheduled report:
62+
63+
.. procedure::
64+
:style: normal
65+
66+
.. step:: On the :guilabel:`Dashboards` page, select the dashboard for which you want to generate a report.
67+
68+
.. step:: Click :guilabel:`Schedule` in the top right corner.
69+
70+
A :guilabel:`New Report` dialog box opens.
71+
72+
.. step:: Configure your dashboard report.
73+
74+
Provide the following information:
75+
76+
.. list-table::
77+
:header-rows: 1
78+
:stub-columns: 1
79+
:widths: 20 80
80+
81+
* - Field
82+
- Description
83+
84+
* - Name
85+
- The name of your report to show on the :guilabel:`Reports`
86+
page. For email reports, this is also the subject line.
87+
88+
* - To
89+
- The list of recipients to whom to send your report. You
90+
can specify any combination of the following:
91+
92+
- Individual project members
93+
- All project members (by clicking :guilabel:`Add All`
94+
from the dropdown)
95+
- Individual external email addresses
96+
97+
.. note::
98+
99+
You can specify a maximum of 10 external email
100+
addresses.
101+
102+
* - Message
103+
- (*Optional*) A message to send with your report. For email
104+
reports, this is the email body.
105+
106+
* - Attachment
107+
- The type of file to use for the dashboard report. You
108+
can select either |png| or |pdf|.
109+
110+
If you select PDF, you must also select an orientation for
111+
the report document.
112+
113+
.. step:: (*Optional*) Send a test email.
114+
115+
To send a test email to yourself to view the output of a report
116+
before you send or schedule it, click :guilabel:`Send test email`.
117+
118+
|charts-short| sends a report to your email address immediately.
119+
120+
.. step:: Schedule or send your report.
121+
122+
You can create a schedule for a recurring report, or send a
123+
single report immediately.
124+
125+
To schedule a recurring report:
126+
127+
a. Toggle the switch to :guilabel:`Schedule`.
128+
129+
#. Specify a start date and time. The first report will be sent at this time.
130+
131+
#. Select a frequency from the :guilabel:`Frequency` dropdown. You can select:
132+
133+
- Once
134+
- Daily
135+
- Weekly
136+
- Quarterly
137+
138+
#. Select a timezone from the :guilabel:`Schedule` dropdown.
139+
140+
#. Click :guilabel:`Schedule`.
141+
142+
|charts-short| adds your new scheduled report to a list of
143+
reports for your project. To view this list and to edit your
144+
scheduled reports, see :ref:`edit-scheduled-report`.
145+
146+
To send a single report immediately:
147+
148+
a. Toggle the switch to :guilabel:`Send now`.
149+
150+
#. Click :guilabel:`Send now`.
151+
152+
|charts-short| sends your report immediately. The report isn't
153+
added to the list of scheduled reports for your project.
154+
155+
.. _edit-scheduled-report:
156+
157+
Edit a Scheduled Report
158+
-----------------------
159+
160+
To edit an existing scheduled report:
161+
162+
.. procedure::
163+
:style: normal
164+
165+
.. step:: Navigate to the :guilabel:`Reports` page, under :guilabel:`Scheduling` in the |charts-short| sidebar.
166+
167+
.. step:: For the report that you want to edit, click :guilabel:`Edit`.
168+
169+
.. step:: Reconfigure your scheduled report information.
170+
171+
.. step:: Click :guilabel:`Save`.
172+
173+
Delete a Scheduled Report
174+
-------------------------
175+
176+
You can only delete reports that you have created. To delete an
177+
existing scheduled report:
178+
179+
.. procedure::
180+
:style: normal
181+
182+
.. step:: Navigate to the :guilabel:`Reports` page, under :guilabel:`Scheduling` in the |charts-short| sidebar.
183+
184+
.. step:: For the report that you want to delete, click :icon-fa4:`trash-o`.
185+
186+
A :guilabel:`Delete Report` dialog box opens.
187+
188+
.. step:: Click :guilabel:`Delete`.

0 commit comments

Comments
 (0)