如何在 Orbeon 中使用 REST API 创建表单定义?
How can I create a Form Definition using REST API in Orbeon?
我可以 update and publish existing form definitions in Orbeon:
When you create, edit, or read form definition with Form Builder, form definitions are stored as Form Builder data. That is, they are stored under: /crud/orbeon/builder/data/[FORM_DATA_ID]
. On the other hand, when Form Builder publishes a form definition, it stores it where Form Runner will find it, that is under: /crud/[APPLICATION_NAME]/[FORM_NAME]/form
. For example, this is what happens when saving and publishing a form definition acme/demo
with a single attachment.
但是,我不知道如何使用 REST 创建新的表单定义 API。有人可以给我提供一个用于创建新表单定义的 REST 调用示例吗?
我可以 update and publish existing form definitions in Orbeon:
When you create, edit, or read form definition with Form Builder, form definitions are stored as Form Builder data. That is, they are stored under:
/crud/orbeon/builder/data/[FORM_DATA_ID]
. On the other hand, when Form Builder publishes a form definition, it stores it where Form Runner will find it, that is under:/crud/[APPLICATION_NAME]/[FORM_NAME]/form
. For example, this is what happens when saving and publishing a form definitionacme/demo
with a single attachment.
但是,我不知道如何使用 REST 创建新的表单定义 API。有人可以给我提供一个用于创建新表单定义的 REST 调用示例吗?