Custom palette from server

Hi. I made a custom palette. But my task is to get data from the server and form a palette based on this data. I can’t figure out how to do it.

A palette is customized through a provider, and for the dynamic loading case you can either:

  • Update the palette once data is fetched using Palette#_rebuild (internal, use at own risk!)
  • Wait for external contents to be loaded, and then instantiate your editor with that custom palette description

So the answer really depends on what you’d like to accomplish.

Thank you so much for your help. Please help me with another question. I tried the examples https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel-list-extension and https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel-extension . But they don’t suit me. I need to expand the example https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel-extension and to make several input fields is not dynamic as in the example https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel-list-extension , and it is static, but I can’t figure out how to achieve this in any way. For example, a field for entering Spell and Spell2. Maybe there is a link to a working example?