How Forms Work

TIBCO MDM forms work using three basic components:

  • A HTML template which is the work item form.
  • An XML document: This is the source of data to be shown in the HTML form.
  • An XML form: This is the XML file that maps data from the source XML document to a Workitem or Email HTML template using an XPATH.

HTML form is used to write a custom work item. The HTML form is used as input to the XMLC tool. XMLC generates Java code and automatically compiles it to generate class file (we will refer to these files as XMLC component). Each HTML ID in HTML form is converted to Java variable and can be accessed using XMLC APIs. Application uses XMLC APIs to get HTML IDs, set values, do HTML manipulation and finally generate HTML, which is ready to be displayed as work item.