IE: Storing a diagram not possible


#1

I want to save a diagram in my downloads folder. But instead saving Internet explorer opens a new tab with the url (see below). How can I bring IE to store the diagram in my download folder? Thank you in advance for answer.

data:application/bpmn20-xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Cbpmn%3Adefinitions%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Abpmn%3D%22http%3A%2F%2Fwww.omg.org%2Fspec%2FBPMN%2F20100524%2FMODEL%22%20xmlns%3Abpmndi%3D%22http%3A%2F%2Fwww.omg.org%2Fspec%2FBPMN%2F20100524%2FDI%22%20xmlns%3Adc%3D%22http%3A%2F%2Fwww.omg.org%2Fspec%2FDD%2F20100524%2FDC%22%20xmlns%3Adi%3D%22http%3A%2F%2Fwww.omg.org%2Fspec%2FDD%2F20100524%2FDI%22%20id%3D%22Definitions_1f6ge2t%22%20targetNamespace%3D%22http%3A%2F%2Fbpmn.io%2Fschema%2Fbpmn%22%3E%0A%20%20%3Cbpmn%3Aprocess%20id%3D%22Process_1%22%20isExecutable%3D%22false%22%3E%0A%20%20%20%20%3Cbpmn%3AstartEvent%20id%3D%22StartEvent_1%22%3E%0A%20%20%20%20%20%20%3Cbpmn%3Aoutgoing%3ESequenceFlow_0evslii%3C%2Fbpmn%3Aoutgoing%3E%0A%20%20%20%20%3C%2Fbpmn%3AstartEvent%3E%0A%20%20%20%20%3Cbpmn%3Atask%20id%3D%22Task_0jas6vo%22%3E%0A%20%20%20%20%20%20%3Cbpmn%3Aincoming%3ESequenceFlow_0evslii%3C%2Fbpmn%3Aincoming%3E%0A%20%20%20%20%20%20%3Cbpmn%3Aoutgoing%3ESequenceFlow_1ur0dk9%3C%2Fbpmn%3Aoutgoing%3E%0A%20%20%20%20%3C%2Fbpmn%3Atask%3E%0A%20%20%20%20%3Cbpmn%3AsequenceFlow%20id%3D%22SequenceFlow_0evslii%22%20sourceRef%3D%22StartEvent_1%22%20targetRef%3D%22Task_0jas6vo%22%20%2F%3E%0A%20%20%20%20%3Cbpmn%3AendEvent%20id%3D%22EndEvent_0huta0k%22%3E%0A%20%20%20%20%20%20%3Cbpmn%3Aincoming%3ESequenceFlow_1ur0dk9%3C%2Fbpmn%3Aincoming%3E%0A%20%20%20%20%3C%2Fbpmn%3AendEvent%3E%0A%20%20%20%20%3Cbpmn%3AsequenceFlow%20id%3D%22SequenceFlow_1ur0dk9%22%20sourceRef%3D%22Task_0jas6vo%22%20targetRef%3D%22EndEvent_0huta0k%22%20%2F%3E%0A%20%20%3C%2Fbpmn%3Aprocess%3E%0A%20%20%3Cbpmndi%3ABPMNDiagram%20id%3D%22BPMNDiagram_1%22%3E%0A%20%20%20%20%3Cbpmndi%3ABPMNPlane%20id%3D%22BPMNPlane_1%22%20bpmnElement%3D%22Process_1%22%3E%0A%20%20%20%20%20%20%3Cbpmndi%3ABPMNShape%20id%3D%22_BPMNShape_StartEvent_2%22%20bpmnElement%3D%22StartEvent_1%22%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3ABounds%20x%3D%22259%22%20y%3D%22397%22%20width%3D%2236%22%20height%3D%2236%22%20%2F%3E%0A%20%20%20%20%20%20


#2

I suppose you’re using our demo.

Unfortunately IE does not support downloading without a roundtrip to the backend.

I suggest you to use a modern browser (any browser really) instead.


#3

Use below code for downloading diagram in IE

var blob = new Blob([xml], {type: “data:application/bpmn20-xml;charset=UTF-8;”});
if (window.navigator.msSaveBlob) { // IE
window.navigator.msSaveOrOpenBlob(blob, “diagram.bpmn”);
}


#4

I am sorry, but where can I apply this code in the browser? I want to use bpmn.io demo in the browser from everywhere. Would you be so kind and tell me the place to enter this code?
Thanks in advance
Alex


#5

I think by using demo application you can’t achieve this functionality.You must customize the application and do.


#6

Thanks for the IE download hint @Ramana.

We’ve updated our demo to support direct downloads with IE, too.


#7

Thanks a lot. FOr this time I use FIrefox to go around this problem.

Have a good day

Alex