config.item_edit.item.save.persist - Initialization - Author API

Author API Initialization

persist

Controls whether the Item data is persisted in the Item bank.

You would want to use this to prevent authors from saving Items to the Item bank.

Examples

// Disable the persist functionality and hide the save button using an object type
var initializationOptions = {
    "config": {
        "item_edit": {
            "item": {
                "save": {
                    "persist": false,
                    "show": false
                }
            }
        }
    }
};

Values

Attribute path config.item_edit.item.save.persist

Default true

Type boolean

Was this article helpful?

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