Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

If Kudo is bound to a dedicated widget in a given page, you can run commands directly using the editor's JS API.

Run command whitelisted in Default Files\OEM Commands\commands.xml:

window.getXeDocument().RunCheckedCmd(commandString);

Where the commandString is your command you’d like to run including parameters you want to pass.

Either

    "_YourCommand Param1 Param2"

or

    "_YourCommand\nParam1\nParam2"

RunCheckedCmd returns a promise. If you are interested in the result, call it like

window.getXeDocument().RunCheckedCmd(commandString).then(function (result) {});

  • No labels