Properties panel data entry access

Hello everyone. I have implemented a custom modeler in my angular app with a Camunda properties panel. Now I need to access the data entry of input fields in the properties panel. Is there a way to do that?
For example I want to access the “name” of the diagram.
thanks in advance

The properties panel is built in a way that it always displays the BPMN 2.0 XML representation under the hood. That’s the data scheme behind it. Therefore, you can also retrieve those properties without accessing the properties panel, e.g. the name of an element

const elementRegistry = modeler.get("elementRegistry");

const element = elementRegistry.get("StartEvent_1");
console.log(element.businessObject.name);

Source: properties - CodeSandbox

This example also showcases this concern.

1 Like