> For the complete documentation index, see [llms.txt](https://bpmflow.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bpmflow.gitbook.io/project/orbeon-integration/orbeon-persistence-layer-for-gemstone-s/service-diagrams/untitled-7.md).

# New Form with one draft

&#x20;The user access to a new form page and this form has one draft. Orbeon is going to ask the user if he wants to open the saved draft or open a form from scratch.\
\
[http://orbeonIP:port/orbeon/fr/{app}/{formName}/new](http://orbeonip/:port/orbeon/fr/%7Bapp%7D/%7BformName%7D/new)\
and the **second** to create a **new instance of the Form** (new link).\
\
**Service Type:** get\
**Servide Output:** application/xml\
**Service Path**: /crud/{app}/{form-name}/form/form.xhtml

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHZMu69ThEz5Wp3-stX%2F-LHZN2Y-gSPATaDoe90M%2Fform-one-draft.jpg?alt=media\&token=f559a38c-c034-4f3f-ba21-3631853f7a6b)

Orbeon POST request body:

```
<search >
    <drafts for-never-saved-document="true">only</drafts>
    <page-size>10</page-size>
    <page-number>1</page-number>
    <lang>en</lang>
</search>
```
