I’m working on a plugin for the modeler and I need name or filepath of current diagram. Is it possible to somehow obtain it in the plugin, preferably either in ClientExtension or BpmnJSPlugin?
I’d recommend to have a look at the ‘app.activeTabChanged’ event. Might not be the best approach but it will give you lots of information.
A similar example can be found here: camunda-modeler-autosave-plugin/AutoSavePlugin.js at main · pinussilvestrus/camunda-modeler-autosave-plugin · GitHub
And behind the scenes:
Good to know, thanks.
Thanks a lot, that’s exactly what I needed.