config.item_list.filter.restricted.tags.none - Initialization - Author API

Author API Initialization

none

Show Items that do not contain any of the specified Tags.

You would want to use this to exclude any Items containing one of a range of Tags.

See Understanding Tag Formats for Content Creation and Filtering for more information on the TagsV2 format.

Important This initialization option requires either tags.all or tags.either to also be set. The tags.none initialization option cannot be set on its own.

Examples

var initializationOptions = {
    "config": {
        "item_list": {
            "filter": {
                "restricted": {
                    "tags": {
                        "all": [
                            { "type": "TYPE1", "name": "NAME1" }
                        ],
                        "none": [
                            { "type": "TYPE2", "name": "NAME3" },
                            { "type": "TYPE2", "name": "NAME4" }
                        ]
                    }
                }
            }
        }
    }
};

Values

Attribute path config.item_list.filter.restricted.tags.none

Type array[TagsV2]

Type definitions

Related articles

Was this article helpful?

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