Custom tab in property extension changes not refect in comunda standalone application

I create my own custom property panel using an official example. In my application, I create 3 tabs i.e. General, Input, and Output. See below image,

My all custom changes now reflect in BPMN XML too,

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:Input="http://Input" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="Process_1" isExecutable="false">
    <bpmn2:startEvent id="StartEvent_1" name="initial" Input:input="3" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="412" y="240" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="417" y="283" width="26" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>

But my customize changes not showing me in Camunda standalone application,

Also, my custom tab information reflects in XML only if I update something manually under the particular tab.
I want all tabs should be in XML doesn’t matter whether edit any property and custom tabs should be present in the standalone application.

My code is here.

Did you create a plugin for the Camunda Modeler (the standalone application as you named it) to handle your custom properties? Otherwise, it will have no chance to understand your custom stuff.

This example shows how to add your custom metamodel to the Modeler. Your plugin will also have to extend the properties panel to adapt your changes.

1 Like