Getting error on savexml in react js
async function save() {
console.log("save click")
let saveXml = await modeler.saveXML({ format: true });
console.log(saveXml);
}
Getting error on savexml in react js
async function save() {
console.log("save click")
let saveXml = await modeler.saveXML({ format: true });
console.log(saveXml);
}
For further assistance, please share a CodeSandbox that reproduces your issue in a way that we can inspect it.
What version of dmn-js are you using?
I am using version - “dmn-js”: “10.1.0”
Can you try using the latest version and see if the problem persists?
I try with version 12.2.0 dmnjs verison but getting Error: no definitions loaded.
Please check below image
It seems like your’re trying to export before you’ve imported. Could that be the case?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.