Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Purpose and Benefits
The steps below show how you can add an additional "Bahmni App" for reporting purposes, with its own report configuration.
Steps
To configure a new app for reports,
in home/extension.json add a new module with parameter appName=“new_reports_name"
Code Block language js linenumbers true "bahmni_exports": { "id": "bahmni.reports", "extensionPointId": "org.bahmni.home.dashboard", "type": "link", "translationKey": "MODULE_LABEL_EXPORTS_KEY", "url": "../reports/#/dashboard?appName=new_reports_name
...
, "icon": "icon-bahmni-reports", "order": 6, "requiredPrivilege": "app:reports" }
- Create a new directory with name “new_reports_name” under openmrs/apps directory. Add reports.json to this directory.
- For internationalization, create a directory under openmrs/i18n with the name "new_reports_name".
...
Tip |
---|
...
|
...
| |
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||