Element Template Name or title change

this.modeler = new Modeler({
container: ‘#canvas’,
width: ‘100%’,
height: ‘600px’,
propertiesPanel: {
parent: ‘#properties
},
additionalModules: [
propertiesPanelModule,
propertiesProviderModule,
ReplaceMenuProvider
],
elementTemplates:botdetails.botdetails,
moddleExtensions: {
camunda: camunda.camunda
}
});
I am using angular 8 in that i am set element templates but you can see in image element template is set but i want to change name Like Element Template TO “Bot Name”
is anybody know how can achive this thing
Thanks In advanceelementtemplate

Hi,

when posting code:

  • Please make sure it is actually related to the issue
  • Use the “preformatted text” feature for it.

To change the label “Element Template” you could use the translation feature. Simply add a custom translation file which specifies 'Element Template': 'Bot Name'. See: https://github.com/bpmn-io/bpmn-js-examples/tree/master/i18n

Alternatively you would need to customize https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/lib/provider/camunda/element-templates/parts/ChooserProps.js#L30. But as said, I would go with the translation.

Regards
Max

I’ve asked you many times and I will ask you again. Can you please format your code? It really isn’t that difficult.

image

Thanks @maxtru your example is helping me and i resolved my issue
i face too much trouble finally my demo is ready now thanks to bpmn forum this place its really help full @mallesh you also help me alot

1 Like

after all those questions and noise in the past weeks, I’d really like to see your final demo. Feel to share it if you like :+1: