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] – [Postgres server section] 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 ==== | ||
| 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. |
| ==== Export settings section ==== | ==== Export settings section ==== | ||
| - | To perform an immediate (manual) | + | This section enables you to manually |
| + | |||
| + | The time and date of the next scheduled export to the dashboard database are shown in the **Next scheduled export** field. | ||
| + | By default, all table data is exported incrementally — that is, only records that are new or have been changed since the last export are exported, which saves a substantial amount of time in the export process. | ||
| + | |||
| + | **Redirect URL** field: contains the URL that you should be redirected to after login or logout of the dashboard. The URL must not contain the '' | ||
| - | | + | **URL** field: contains |
| - | * Click the **Export** button | + | |
| - | * Enter the authorisation code | + | |
| - | * Click **OK** | + | |
| - | By default, | + | The **Run Next Scheduled Export Now** button gives you a way of exporting the data immediately, |
| + | |||
| + | The **Full export of Checked Tables** button gives you a way of re-exporting | ||
| + | The table contains | ||
| - | In order to force a // | + | <WRAP info center round 90%> |
| + | It is not advisable | ||
| + | |||
| + | If you do run a full export (i.e. including all database tables) then you must enter your name and give a reason for the export in the //Add your name and reason for running the full export!// text field. This text will be added to the log. | ||
| + | </ | ||
| + | |||
| + | When you click on either | ||
| + | |||
| + | Click on the **OK** button to save your changes | ||
| + | |||
| + | |||
| + | ==== 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 and define exactly which fields are exported to the dashboard, including some patient information if desired by clicking on the **Export Field Settings** tab. This is what the tab looks like: | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | * **Table** drop-down list: Select the database table whose fields to export | ||
| + | * **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/ | ||
| + | * **Allow patient | ||
| + | |||
| + | To add or remove specific fields from the dashboard | ||
| + | |||
| + | If any fields with patient identifiable information are selected | ||
| \\ | \\ | ||