For configuring exports, please follow the steps mentioned below
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 |
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
|
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. |
Use the following command to execute
/usr/bin/bahmni-batch |
Follow the Scheduling Exports for endTB to schedule the exports.