I’m trying to do Camunda Modeler plugin that will allow me to open bpmn file in new tab by clicking a button.
I’ve managed to render a new button, but I cannot find a way to open an exisitng bpmn file in new tab. Is there a way to do this? And if so can somoene point me to the right direction?
The closest thing I could achieve is by clicking a button, it opens “Open File” dialog. I do this by invoking
triggerAction("open-diagram"). It would be acceptable solution if I could provide options to this event suggesting a default path and the file name to open. But it seems not possible as well.
Appreciate any help.