config.global.items.read_only.filter.either - Initialization - Author API

Author API Initialization

either

Controls whether Items containing any of the specified Tags will be shown as read-only.

You would want to use this to specify tagged groups of Items to be read-only.

Examples

var initializationOptions = {
    "config": {
        "global": {
            "items": {
                "read_only": {
                    "filter": {
                        "either": [
                            { "type": "TYPE1", "name": "NAME1" },
                            { "type": "TYPE2", "name": "NAME2" },
                            // ...
                        ]
                    }
                }
            }
        }
    }
};

Values

Attribute path config.global.items.read_only.filter.either

Type array[TagsV2]

An array of TagsV2 objects.

Type definitions

Was this article helpful?

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