Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:dashboard:reports [2022/08/04 23:27] – [Scheduled Emailed Reports] Mai Inamoto | en:dashboard:reports [2022/10/20 05:00] (current) – [Excel report e-mail scheduler] Mark Glover | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Excel report e-mail scheduler===== | ||
+ | |||
+ | Generate Excel reports from mSupply dashboard. Email the reports to custom created user-groups on pre-defined schedule. | ||
+ | Supported Grafana version is later v8.0.0 | ||
- | =====Scheduled Emailed Reports===== | ||
This is a custom plugin which will need to be installed on your server. Contact mSupply support if this plugin is not available to you. | This is a custom plugin which will need to be installed on your server. Contact mSupply support if this plugin is not available to you. | ||
- | NOTE: you need to have Grafana administrative rights | + | <WRAP center round important 60%> |
+ | To use this plugin, the user needs to have Grafana administrative rights. | ||
+ | </ | ||
====Initial Plugin Setup==== | ====Initial Plugin Setup==== | ||
- | -Click on **Settings**on the sidebar menu (on the left-hand side of the mSupply Dashboard). | + | -Click on **Settings** on the sidebar menu (on the left-hand side of the mSupply Dashboard). |
-Select the **Plugins** tab. | -Select the **Plugins** tab. | ||
-Search for “mSupply”. | -Search for “mSupply”. | ||
- | -Click on the mSupply option. | + | -Click on **Excel report e-mail scheduler**. |
- | -Click | + | |
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
- | |||
- | Once enabled, the mSupply icon will be displayed on the sidebar menu above the settings button. | ||
The App Configuration window will open and you will need to complete this form before you start to use the reporting functionality. | The App Configuration window will open and you will need to complete this form before you start to use the reporting functionality. | ||
- | \\ | + | Click Enable for the plugin. |
+ | {{ : | ||
+ | |||
+ | Once enabled, the mSupply icon will be displayed on the sidebar menu above the settings button. | ||
+ | {{ : | ||
- | {{ : | ||
- | \\ | ||
Please enter your administrator **Grafana Details**: | Please enter your administrator **Grafana Details**: | ||
*Username and password | *Username and password | ||
Line 37: | Line 42: | ||
For **Datasource**, | For **Datasource**, | ||
- | Once completed, please select **Submit**. | + | Once completed, please select **Save settings**. |
*If the form is incomplete or the information provided is incorrect, you will receive an error message on submission. | *If the form is incomplete or the information provided is incorrect, you will receive an error message on submission. | ||
*On successful submission, you will receive the following message: | *On successful submission, you will receive the following message: | ||
Line 54: | Line 59: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Line 62: | Line 67: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Line 68: | Line 73: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
\\ | \\ | ||
Line 74: | Line 79: | ||
In the **Edit details** section there are free-text boxes for: | In the **Edit details** section there are free-text boxes for: | ||
*Name | *Name | ||
- | *Group description | + | *Group description |
- | Then select | + | Selected Users |
+ | * List of selected users shown here | ||
+ | |||
+ | Select | ||
*A list is provided of all mSupply users | *A list is provided of all mSupply users | ||
- | *mSupply users without | + | *You can show only mSupply users with an email address |
+ | |||
+ | <WRAP center round info 50%> New users (or changes to a user’s details) | ||
+ | |||
+ | Click on **Create Report Group** or **Update Report Group** (When you edit) to save. | ||
- | <WRAP center round info 50%> New users (or changes to a user’s details) will only be updated from mSupply into the Dashboard every 24 hours. If you require an immediate update for Reports, please complete a manual export from mSupply to the Dashboard. </ | + | {{ : |
- | To save and close press the **X** in the top right corner. | + | When you hover your mouse over the group, |
**Delete** will remove the report group. You will receive a prompt to confirm deletion. | **Delete** will remove the report group. You will receive a prompt to confirm deletion. | ||
Line 88: | Line 100: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
====Setting Up a Report Schedule==== | ====Setting Up a Report Schedule==== | ||
- | To access Report schedules, select the mSupply icon from the sidebar menu and select **Report schedules** from the drop-down menu. | + | To access Report schedules, select the mSupply icon from the sidebar menu and select **Schedules** from the drop-down menu. |
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
- | In the following window select **Add schedule**. This will create a **New report schedule** as below – click on this row to edit the schedule details. | + | In the following window select **Create new schedule**. This will create a **New report schedule** as below – click on this row to edit the schedule details. |
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Line 113: | Line 125: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Line 133: | Line 145: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Line 143: | Line 155: | ||
Grafana macros are not supported with the following exception: | Grafana macros are not supported with the following exception: | ||
* The $__ | * The $__ | ||
- | * For example, if you set a lookback period of 7 days and create a daily report starting on 1 January 2021. The first report’s $__ | + | * For example, if you set a lookback period of 7 days and create a daily report starting on 1 January 2021. The first report’s $__ |
- | Once you have selected your variables, you can press **Send Test** button (top right corner). | + | Press **Create schedule** button on the bottom of the page. |
+ | |||
+ | {{ : | ||
+ | |||
+ | Once you saved the scheduler, you can press **Send Test** button (top right corner) | ||
* **Send Test** will not affect the timing of the schedule (the timing of the schedule is dependent on the time you save and close the report schedule) | * **Send Test** will not affect the timing of the schedule (the timing of the schedule is dependent on the time you save and close the report schedule) | ||
* **Send Test** will send the email to all users in the report group! | * **Send Test** will send the email to all users in the report group! | ||
- | To save and close press the **X** in the top right corner. | + | **DELETE** will remove the report schedule. You will receive a prompt to confirm deletion. |
- | + | ||
- | **Delete** will remove the report schedule. You will receive a prompt to confirm deletion. | + | |
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ |