Search code examples
orbeon

Orbeon Forms: Extract Form Definition XML via API


I appreciate that this is an odd one..

With our Orbeon integration with another product we dont appear to have an API to extract the XML for our form definitions.

Does Orbeon have standard APIs to do this, or is there another way we could extract the data?

Many thanks in advance..

PeteA


Solution

  • The best way to "extract" an empty XML template of the data from a form definition is to use the Background API ability to return form data, which also allows you to specify the version of the data format you are interested in, with the data-format-version request parameter.