Initialization Option Author API

either

Search for Items that contain at least one of the specified Tags.

You would want to use this to perform a search including 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": {
        "activity_edit": {
            "item_search": {
                "filter": {
                    "restricted": {
                        "tags": {
                            "either": [
                                { "type": "TYPE1", "name": "NAME1" },
                                { "type": "TYPE1", "name": "NAME2" },
                                { "type": "TYPE2", "name": "NAME3" }
                            ]
                        }
                    }
                }
            }
        }
    }
};

Values

Request object key config.activity_edit.item_search.filter.restricted.tags.either

Type array[TagsV2]

Type definitions

tagsV2 object

Tags are used to improve searching for content while authoring and for reporting and analytics purposes.

See Understanding Tag Formats for Content Creation and Filtering for more information.

  • name string

    The Tag name.

    Maximum length is 255 characters.

  • type string

    The Tag type.

    Maximum length is 255 characters.

Related articles

Was this article helpful?