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

Author API Initialization

either

Show Items that contain at least one of the specified Tags.

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

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

Examples

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

Values

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

Type array[TagsV2]

Type definitions

Related articles

Was this article helpful?

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