How to include HTML forms in a module in the Reference Application

Am running openmrs 1.11.4, the Reference Application and am trying to figure out how to include html forms in a module, apart from using the Manage Forms app in the UI. It hasn’t worked yet.

Anyone with an idea ?

Thanks.

1 Like

You can export a form using Metadata Sharing Module and import it in module’s activator. See

and

Also, to see how this is done in the Reference Application:

(e.g. this shows how the simpleVisitNote.xml form is loaded at module startup, and attached to the UI)

This presumes that concepts are already loaded, which is done in the referencemetadata module.

Thanks guys. I also found this link which was very useful. – https://wiki.openmrs.org/display/projects/Simple+Form+UI