Page 1 of 1

Possible to Enable Show XML Action?

Posted: Fri Aug 09, 2024 8:27 pm
by dreifsnider
Hi,

Is it possible to enable the Show XML action in Content Fusion? We're hoping to use this to quickly copy over the XML contents of a topic.

I've tried to register it as an action, but it doesn't seem to have any effect and I still cannot see the Show XML action:

Code: Select all

workspace.listen(sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function(e) {
  var editor = e.editor;
  editor.listen(sync.api.Editor.EventTypes.ACTIONS_LOADED, function () {
    const actionIds = [
      'Author/ShowXML',
    ];
    for (const registerAction of actionIds) {
      editor.getActionsManager().registerAction(registerAction);
    }
  });
});
Thanks!
Daniel

Re: Possible to Enable Show XML Action?

Posted: Mon Aug 12, 2024 11:59 am
by cosminef
Hello,

We responded to this request in the previous post:

viewtopic.php?p=74992#p74992

Best,
Cosmin