config.global.workflow.item.comments - Initialization - Author API

Author API Initialization

comments

Configuration options for Item review workflow comments.

Values

Attribute path config.global.workflow.item.comments

Type object

Properties

  • show boolean

    Controls whether Item review workflow comments are shown.

    You would want to use this to hide workflow comments on Items.

    Default: true

    // Hide Item workflow comments
                var initializationOptions = {
                    "config": {
                        "global": {
                            "workflow": {
                                "item": {
                                    "comments": {
                                        "show": false
                                    }
                                }
                            }
                        }
                    }
                };
                
  • add boolean

    Controls whether Item review workflow comments can be added.

    You would want to use this to prevent authors from adding workflow comments.

    Default: true

    // Disable workflow comments
                var initializationOptions = {
                    "config": {
                        "global": {
                            "workflow": {
                                "item": {
                                    "comments": {
                                        "add": false
                                    }
                                }
                            }
                        }
                    }
                };
                
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.