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:52] – [Export settings 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 ==== | ||
| - | This section enables you to select exactly what data is exported to the dashboard. | + | This section enables you to manually export data to the dashboard apart from the scheduled dashboard export. |
| + | |||
| + | 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 | ||
| + | |||
| + | **Redirect URL** field: contains the URL that you should be redirected | ||
| - | To perform an immediate (manual) export: | + | **URL** field: contains the URL of the dashboard, including the '' |
| - | | + | The **Run Next Scheduled Export Now** button gives you a way of exporting |
| - | * Click the **Export** button | + | |
| - | | + | The **Full export of Checked Tables** button |
| - | | + | The table contains a list of all the database tables in mSupply that can be exported |
| - | By default, **transaction** and **requisition** data is only exported incrementally — that is, only transactions and requisitions that are new or have been changed since the last export are exported, which saves a substantial amount | + | <WRAP info center round 90%> |
| + | It is not advisable to run a full export | ||
| - | In order to force a // | + | 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 | ||
| \\ | \\ | ||