Support Binding to Form Files
See original GitHub issueSimilar to how I can configure the binding of a DMN file through the properties panel I want to be able to configure a binding of a form file. This involves both changes in the Camunda Modeler and in the form-js library.
Sketch
Bindings
deployment
latest
version
versionTag
is out of scope for now
New Start Event / User Task Properties
-
camunda:formRef
(maps toid
property of the form) -
camunda:formRefBinding
(deployment
,latest
orversion
) -
camunda:formRefVersion
(maps to an internal version property set by the engine)
New Form Properties
-
id
(maps tocamunda:formRef
property of a start event / user task)
Example
Form
{
id: 'formId',
type: 'default',
components: [
...
]
}
id
will be set on the root of the form JSON.
BPMN
<bpmn:userTask
id="Activity_1"
camunda:formRef="formId"
camunda:formRefBinding="version"
camunda:formRefVersion="7">
</bpmn:userTask>
or
<bpmn:userTask
id="Activity_1"
camunda:formRef="formId"
camunda:formRefBinding="latest">
</bpmn:userTask>
or
<bpmn:userTask
id="Activity_1"
camunda:formRef="formId"
camunda:formRefBinding="deployment">
</bpmn:userTask>
These properties will be set through the properties panel. Therefore, the root must be selectable/form fields must be deselectable.
Steps
- https://github.com/camunda/camunda-bpmn-moddle/issues/73
- https://github.com/camunda/camunda-bpmn-js/issues/37
- https://github.com/bpmn-io/bpmn-properties-panel/issues/96
- https://github.com/bpmn-io/bpmn-js-properties-panel/issues/480
Related to https://github.com/bpmn-io/form-js/issues/80 Related to https://github.com/camunda/camunda-bpmn-moddle/issues/73
Related to CAM-13264.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Upload files in ASP.NET Core - Microsoft Learn
ASP.NET Core supports uploading one or more files using buffered model binding for smaller files and unbuffered streaming for larger files.
Read more >Binding the Form and Components to Code | IntelliJ IDEA ...
There are two basic ways you can approach explicit binding depending on your situation: Bind a form to an existing class, and its...
Read more >Add Metadata Form Binding s
The image below shows example metadata forms, sorted by name with associated bindings. Metadata forms can be bound to more than one object...
Read more >Binding data to form fields - Adobe Support
To bind to a form field, the controlName value must be the value of the id or name attribute of the form control...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI: the specification and backend implementation on platform side is done, so this is ready for implementation
Feature is merged and waiting to be released and integrated into Camunda Modeler.