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 09:57] – 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: | ||
| - | {{ : | + | {{ : |
| - | Once Dashboard | + | ==== Postgres server section ==== |
| + | In here you enter the details of the dashboard database server: | ||
| + | * **Server:** the URL or IP address of the dashboard database server | ||
| + | * **Port:** the port on the server that the database | ||
| + | * **User:** The user name that mSupply will use to access | ||
| + | * **Password: | ||
| + | * **Database Name: | ||
| - | To perform an immediate (manual) export: | + | 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. |
| - | * Check the boxes to choose | + | Once the dashboard is enabled and the correct Postgres settings entered, there will be an automatic (scheduled) export every 24 hours. The next scheduled |
| - | * Click the **Export** button | + | |
| - | * Enter the authorisation code | + | |
| - | * Click **OK** | + | |
| - | 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 of time in the export process. All other tables are re-exported from scratch each time. | ||
| - | In order to force a //full// export of transactions | + | ==== Export settings section ==== |
| + | 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 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 the URL of the dashboard, including the '' | ||
| + | |||
| + | 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 | ||
| \\ | \\ | ||