Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
UnassignedUnassignedReporter
Yalla AlekhyaYalla AlekhyaLabels
UAT Assignee
Himabindu ThungathurtyHimabindu ThungathurtyComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Yalla Alekhya
Yalla AlekhyaLabels
UAT Assignee
Himabindu Thungathurty
Himabindu ThungathurtyComponents
Sprint
None
Fix versions
Priority
Created September 12, 2019 at 11:19 AM
Updated September 26, 2021 at 11:31 AM
Resolved September 26, 2021 at 10:35 AM
As an implementation engineer
I want to export the latest versions for each form created on the implementer interface
So that I save time by downloading multiple forms or uploading multiple forms in a single instance
Description:
Currently, on Implementer Interface to import and export forms, we need to manually import or export forms one by one. Instead, this functionality will help import or export all the forms
This approach was discussed in PAT Call on 12th June and proposed on this OpenMRS Talk: https://talk.openmrs.org/t/import-export-of-multiple-forms-2-0-from-implementer-interface/23649
Assumptions
Import and export for a single form is currently working and is extensible
Acceptance Criteria:
A user can choose/select which forms to export through the checkboxes next to form names
The export file will contain translations for the form
The forms will be downloaded/exported as a zip
User can also download file one at a time based on the existing button in the action column
In case of errors, have a separate text file for the error but the zip file with other files should be downloaded
Error message at the top in red to say: “There is an error in your download. Please check the logs.”
Implementation notes:
Checkboxes will be provided for all the published forms in form list in the form builder
And an export button will be provided beside the import button in form builder
We need to select one or more forms by checking the checkboxes and click on the export button
A new endpoint has been added ‘/export’ which will be taking a list of UUIDs of the select forms and returns with a zip folder containing jsons of all the selected forms.
All the failed form names will be attached to the response, which we will display them on a red banner on UI with a message “These forms failed with export, please verify logs”
Currently, for load purpose, we limited the number of forms to be selected to ‘20’. Need to make it configurable.
Openmrs Talk link: https://talk.openmrs.org/t/import-export-of-multiple-forms-2-0-from-implementer-interface/23649
PR links:
Ie apps:
implementer-interface:
Notes:
bahmni ie apps PR should be merged first, and then implementer-interface PR has to be merged