Publish a Form Template and Submit an Instance
A 3-step recipe with Bentley Systems. We can help you get access.
Recipe · 3 steps
Publish a Form Template and Submit an Instance
with Bentley Systems
Create a form template, submit an instance against it, and attach a file.
- Create the reusable form template. Its definition id is referenced by the submitted instance.
- Submit a filled form instance against the created template, carrying the template's definition id so the values map to the right schema.
- Attach a supporting file to the submitted form instance so the captured data carries its evidence.
What you'll need to have ready
- template: The form template (definition) payload (e.g. displayName, iTwinId, fields).
- instance: The form instance payload with the captured field values.
- attachment: The attachment metadata payload for the instance (e.g. fileName, caption).
For your developer
Arazzo workflow bentley-systems:publish-form, 3 operations: postFormDefinitions → CreateInstance → postByIssueIdAttachments. Specs on APIs.io.