> 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-1.md).

# Publish or Unpublish Forms in Form Runner

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHZJWQaP58MFGuSA9O8%2F-LHZJeY21kWJGCX1RGSm%2Funpublish-form.jpg?alt=media\&token=53b8aeb6-1bb7-4022-a2bd-d59cc7eb5df4)

Publish or Unpublish a Form Definition from [http://myIpAddress:port/orbeon/fr/](http://myipaddress/:port/orbeon/fr/)\
\
**Service Type:** put\
\
**Servide Output:** application/xml\
\
**Service Path**: /crud/{app}/{form-name}/form/form.xhtml\
\
The service change the node \[available] of the latest form definition named {form-name} in the Orbeon Application {app}.

`switchAvailable` method perform this operation in GemStone (see diagram)\
\
**To Publish** `<available>true</available>`\
\
**To Unpublish** `<available>false</available>`\
\
The node `<available>` is inside the node `<metadata>`

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHZJWQaP58MFGuSA9O8%2F-LHZJpFDJmFe8m70YKjl%2Funpublish-form-02.jpg?alt=media\&token=1eb1f829-3216-45ad-96a5-271014a9fba7)
