Orbeon Forms
Duplicate form data API

Since Orbeon Forms 4.7.

The API is also used internally by the Summary page via the Duplicate button.

The purpose of the duplicate API is to duplicate form data, including form data attachments. This API cannot be used to duplicate autosaved data, as it doesn't provide a way for the caller to specify whether the data to duplicate was autosaved or not.

  • URL: /fr/service/$app/$form/duplicate
  • Method: POST
  • $app is the form definition's application name
  • $form is the form definition's form name
Request body:
  • Content-Type: application/xml
  • the element contains the document id to duplicate
Example request body:
<?xml version="1.0" encoding="UTF-8"?>
Response body:
  • Content-Type: application/xml
  • the element contains the newly created document id
Example response body:
<?xml version="1.0" encoding="UTF-8"?>

The caller must either call the service internally or have proper credentials to access the data (username, group, roles).
Copy link
On this page
Internal uses