Hard coded templates


#1

Hi,

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

thank you


#2

@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


#4

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


#5

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


#6

im using the modeler…


#7

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


#8

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


#9

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