Exporting to XML diagram

Hello everyone,

First, I wanted to make you know that I am a total beginner with this technology, and even through I read the documentation, I am still lost.

My objective is to create, on my localhost, a web page simply displaying a BPMN diagram (that I need to create :D).

Through the BPMN modeler that I’ve downloaded from here : https://github.com/bpmn-io/bpmn-js-examples, I’ve created an example diagram. I now need to export it :

example1

All I can see is a alert, saying me that I need to check the developer tool. I tottaly don’t know what to do to retrieve my diagram.

So my questions are :

  • Where is the file created ?
  • Is it a .bpmn or a .xml extension file ?
  • How can I use this to display it on a web page ?

Excuse me again for being such a newbie on this,

Thanks a lot for reading my request,

Have a nice day,

Ben

Hi @BenWork

Visit this link, you can find anythings need for save as xml and download to specific path you want.

[save to xml]
Note: done is callback

[download .bpmn file]