For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create XOD document

To create a XOD document.

// The extension option is optional if it can be inferred from the URL
// but required if it cannot, or if a blob or file is loaded
const options = { extension: 'xod' };
const doc = await Core.createDocument('/path/file.xod', {});
// The extension option is optional if it can be inferred from the URL
// but required if it cannot, or if a blob or file is loaded
const options = { extension: 'xod' };
const doc = await CoreControls.createDocument('/path/file.xod', {});

Last updated

Was this helpful?