config.activity_list.toolbar.add - Initialization - Author API

Author API Initialization

add

Controls whether the create new Activity button is shown.

You would want to use this to prevent authors from creating new Activities.

Examples

// Hide the create Activity button
var initializationOptions = {
    "config": {
        "activity_list": {
            "toolbar": {
                "add": false
            }
        }
    }
};

Values

Attribute path config.activity_list.toolbar.add

Default true

Type boolean

Was this article helpful?

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