Hard coded templates

Hi,

can somebody tell me how to add templates without a json config file.

thank you

@nvm7 element templates have to be added through the json file as per: https://github.com/camunda/camunda-modeler/tree/master/docs/element-templates#configuring-templates

Thank you. But I have to add templates dynamically so this won’t work.

@nvm7 are you using the Modeler or BPMN.js?

im using the modeler…

Can you explain how you want it to be dynamic? Where is the content to come from?

If sounds like you need to write a plugin or extension to modeller

Like parsing json and from that creating the templates on start dynamically.

@nvm7 where is the json coming from? what is the source of the json