/fr/service/$app/$form/new
/fr/service/$app/$form/edit/$document
POST
$app
is the form definition's application name$form
is the form definition's form name$document
is the form data's document id/new
:Content-Type: application/xml
POST
ing any XML data, just POST
an empty request body to the service.form-version
parameter. For example:/fr/service/acme/order/new?form-version=2
/fr/service/acme/order/edit/fc4c32532e8d35a2d0b84e2cf076bb070e9c1e8e?form-version=3
Content-Type: application/xml
$app
and $form
represent a Form Runner application name and/or form name or *
wildcards, as is usual with Form Runner configuration properties.return-data=true
to the service, form data is returned:data-format-version
parameter:data-format-version
edge
: send the data in the latest internal format2019.1.0
: send the data in the Orbeon Forms 2019.1-compatible format4.8.0
: send the data in the Orbeon Forms 4.8-compatible format4.0.0
: send the data in the Orbeon Forms 4.0-compatible format (the default)prune-metadata
parameter can be used to control production of metadata:true
to remove all occurrences of fr:
-prefixed elements and attributesfalse
to leave such occurrencesfalse
when data-format-version
is set to edge
true
otherwisedisable-default=true
: disable the evaluation of initial valuesdisable-calculate=true
: disable the evaluation of calculated valuesdisable-relevant=true
: disable the evaluation of visibility valuesacme/sales
when the service is called with /fr/service/acme/sales/new
:acme/sales
and saves it to the database when the service is called with /fr/service/acme/sales/edit/$document
, where $document
represents an existing form data document id:POST
XML data to the page:validate("error")
instead of require-valid
, as the latter always returns a success value.a/a
(i.e. with app name = a
and form name = a
), and where relevant document id 123
. Along with using the appropriate server name, you'll want to replace those by your actual form name, app name, and document id.new
background service: curl -X POST http://localhost:8080/orbeon/fr/service/a/a/new
edit
background service: curl -X POST http://localhost:8080/orbeon/fr/service/a/a/edit/123