Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| import_and_export:export_to_dashboard [2021/04/28 10:03] – [16.18. Exporting to the dashboard] Gary Willetts | import_and_export:export_to_dashboard [2026/09/30 11:55] (current) – Gary Willetts | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | ====== | + | ====== |
| - | <wrap info> | + | <wrap info> |
| This information is for sending data from your mSupply database to the mSupply dashboard database. The dashboard has a separate Postgres database so that its use does not slow down or interfere with your use of mSupply. | This information is for sending data from your mSupply database to the mSupply dashboard database. The dashboard has a separate Postgres database so that its use does not slow down or interfere with your use of mSupply. | ||
| Line 11: | Line 11: | ||
| Click on the **Export Settings** tab and you will see this window: | Click on the **Export Settings** tab and you will see this window: | ||
| - | {{ : | + | {{ : |
| - | ===== Postgres server section | + | ==== Postgres server section ==== |
| In here you enter the details of the dashboard database server: | In here you enter the details of the dashboard database server: | ||
| * **Server:** the URL or IP address of the dashboard database server | * **Server:** the URL or IP address of the dashboard database server | ||
| Line 23: | Line 23: | ||
| To make sure the details are correct and your copy of mSupply has access to the dashboard database, click on the **Test connection** button. A message will tell you whether the connection is successful or not. | To make sure the details are correct and your copy of mSupply has access to the dashboard database, click on the **Test connection** button. A message will tell you whether the connection is successful or not. | ||
| - | Once the dashboard is enabled and the correct Postgres settings entered, there will be an automatic (scheduled) export every 24 hours. The next scheduled export is shown in the //Next scheduled export// field. | + | Once the dashboard is enabled and the correct Postgres settings entered, there will be an automatic (scheduled) export every 24 hours. The next scheduled export is shown in the //Next scheduled export// field. This export process can be edited to run at different intervals based on your needs. |
| - | To perform an immediate (manual) export: | ||
| - | * Check the boxes to choose the data you want to manually export to the dashboard | + | ==== Export settings section ==== |
| - | * Click the **Export** button | + | This section enables |
| - | * Enter the authorisation code | + | |
| - | * Click **OK** | + | The time and date of the next scheduled export to the dashboard database are shown in the **Next scheduled export** field. |
| + | By default, | ||
| + | |||
| + | **Redirect URL** field: contains the URL that you should be redirected | ||
| - | By default, | + | **URL** field: contains |
| - | In order to force a //full// export | + | The **Run Next Scheduled Export Now** button gives you a way of exporting the data immediately, without waiting for the next scheduled export. Useful if you want the dashboard to be updated immediately. |
| + | |||
| + | The **Full export | ||
| + | The table contains a list of all the database tables in mSupply that can be exported to the dashboard. Simply check the checkbox | ||
| + | |||
| + | <WRAP info center round 90%> | ||
| + | It is not advisable to run a full export | ||
| + | |||
| + | If you do run a full export | ||
| + | </ | ||
| + | |||
| + | When you click on either of them you must enter your authorisation code before | ||
| + | |||
| + | Click on the **OK** button to save your changes and the **Cancel** button to cancel any changes you have made. | ||
| + | |||
| + | |||
| + | ==== Export Field Setting tab ==== | ||
| + | By default all fields from all tables (except patient identifiable fields and other security related information) are exported to the dashboard. However, you can refine the export | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | * **Table** drop-down list: Select the database table whose fields to export you want to modify | ||
| + | * **Table**: Shows all the fields in the database table selected in the **Table** drop-down list that are available for export. All will be selected by default. | ||
| + | * **All/None** checkbox: Checking/unchecking this will check/uncheck all the checkboxes in the //Included field// column of the table for the selected database table. | ||
| + | * **Allow patient export** checkbox: If checked, this will allow export of any selected patient data fields to the dashboard. | ||
| + | |||
| + | To add or remove specific fields from the dashboard export, select the table in the **Table** drop-down list. All its fields available for export | ||
| + | |||
| + | If any fields with patient identifiable information are selected | ||
| \\ | \\ | ||