Configuring Exports
- Sravanthi N. S. CH.
Steps
For configuring exports, please follow the steps mentioned below
Install bahmni-endtb-batch rpm
Choose required version of rpm and install using the below sample command
yum install -y https://dl.bintray.com/bahmni/rpm/rpms/bahmni-endtb-batch-1.1.0-66.noarch.rpm
Configure app on home dashboard
On Bahmni Home Dashboard, configure separate app for Exports.
Please look at Home App#extension.json for understanding more about available fields to configure and customise the app
Please follow the sample code snippet and add similar section in home/extension.json
"bahmni_exports": { "id": "bahmni.reports", "extensionPointId": "org.bahmni.home.dashboard", "type": "link", "translationKey": "MODULE_LABEL_EXPORTS_KEY", "url": "../../bahmni_config/report.html", "icon": "fa-download", "order": 6, "requiredPrivilege": "app:reports" }
Please make sure to configure URL key in above code snippet with the proper navigation url. In above code snippet, the navigation url is the location of url added in AddcustomhtmlpageforExports
"requiredPrivilege" holds the privilege required to view the app. This can be used to restrict the user access to this app.
Schedule the exports
Use the following command to execute
/usr/bin/bahmni-batch
Follow the Scheduling Exports for endTB to schedule the exports.
On this Page
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)