close

Filter

loading table of contents...

Studio Developer Manual / Version 2304

Table Of Contents

9.10.4 Adding Disapprove Buttons

You can revoke the status of the approved content using the disapprove action. The disapprove action can be enabled in CoreMedia Studio so that the disapprove action is part of the actions toolbar, the collection repository context menu and the collection search context menu.

You enable the disapprove action by using the plugin EnableDisapprovePlugin. For example by inserting the following code snippet inside configuration in your Studio plugin.

import Config from "@jangaroo/runtime/Config";
import StudioPlugin from "@coremedia/studio-client.main.editor-components/configuration/StudioPlugin";
import EnableDisapprovePlugin from "@coremedia/studio-client.main.editor-components/configuration/EnableDisapprovePlugin";

//...
Config(StudioPlugin, {
  //...
  configuration: [
    //...
    new EnableDisapprovePlugin({}),
    //...
  ]
});

Example 9.39. Adding disapprove action using enableDisapprovePlugin


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.