The update.rdf file is used to facilitate updates to Modules. The location of the update.rdf file must be placed in the config.xml under the updateURLtag.
The update.rdf should look similar to the following:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> |
...
<!DOCTYPE module PUBLIC "-//OpenMRS//DTD OpenMRS Update 1.0//EN" "http://resources.openmrs.org/doctype/update-1.0.dtd"> |
...
<update configVersion="1.0"> |
...
<moduleId>formEntry</moduleId> |
...
<currentVersion>1.0</currentVersion> |
...
<downloadURL> https:// |
...
modules.openmrs.org/modules/formentry/formentry-1.0.omod </downloadURL> |
...
</update> |