config.activity_list.filter.restricted.tags.all - Initialization - Author API

Author API Initialization

all

Show Activities that contain all of the specified Tags.

You would want to use this to show Activities with a particular combination of Tags.

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

Examples

// Show Activities that contain all four Tags listed
var initializationOptions = {
    "config": {
        "activity_list": {
            "filter": {
                "restricted": {
                    "tags": {
                        "all": [
                            { "type": "TYPE1", "name": "NAME1" },
                            { "type": "TYPE1", "name": "NAME2" },
                            { "type": "TYPE2", "name": "NAME3" },
                            { "type": "TYPE2", "name": "NAME4" }
                        ]
                    }
                }
            }
        }
    }
};

Values

Attribute path config.activity_list.filter.restricted.tags.all

Type array[TagsV2]

Type definitions

Related articles

Was this article helpful?

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