Configure CSV Export
- Teresa Gracias
- Abishek Anand
Owned by Teresa Gracias
Purpose and Benefits
The CSV export feature is used for data migration to and from Bahmni. The user has to have app:admin privilege to use this feature.
Steps
1. Configure CSV Export Tab
To make CSV export appear in the Admin module, add the following configuration to the extension.json file. The file can be found in the "/config/openmrs/apps/admin/" folder.
Modify the "extension.json" to contain the snippet below:
"csvExport":{ "id": "bahmni.admin.csvExport", "extensionPointId": "org.bahmni.admin.dashboard", "type": "link", "extensionParams": { }, "label": "CSV Export", "url": "#/csvExport", "icon": "fa-download", "order": 1, "requiredPrivilege": "app:registration" },
Key Fields
Key | Use | Mandatory |
---|---|---|
url | Points the app to the csv export state | Yes |
icon | The icon that will be displayed on the button | No |
label | The text that will be rendered on the button | Yes |
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)