:fire: Is there anything the reviewer should know to test it?
It's necessary to create the snake-bite namespace with a customFormData key in the data store and with the content in this json:
customMetadata.json.zip
To generate Snakebite custom form is necessary changes in metadata:
Create sections in the data set
Rename formName in the data elements
To generate the custom form:
cd /HEP-data-entry
yarn build
node lib/cli.js --url='http://user:pwd!@dhisUrl' --dataset-id='XBgvNrxpcDC' --module='snakebite'
Important: the command uploads all data set to the server.
Important: Sometimes to generate the custom form, age category options are duplicated in data elements. I think this is an API bug.
:pushpin: References
https://app.clickup.com/t/buybcj
:memo: Implementation
:art: Screenshots
:fire: Is there anything the reviewer should know to test it?
It's necessary to create the snake-bite namespace with a customFormData key in the data store and with the content in this json: customMetadata.json.zip
To generate Snakebite custom form is necessary changes in metadata:
To generate the custom form:
Important: the command uploads all data set to the server. Important: Sometimes to generate the custom form, age category options are duplicated in data elements. I think this is an API bug.
:bookmark_tabs: Others