Author API Initialization
filter
Configuration options for working with read-only Activities.
Values
Attribute path config.global.activities.read_only.filter
Type object
Properties
-
either array[TagsV2]
Controls whether Activities containing any of the specified Tags will be shown as read-only.
You would want to use this to specify tagged groups of Activities to be read-only.
Default:
[]var initializationOptions = { "config": { "global": { “activities": { "read_only": { "filter": { "either": [ { "type": "TYPE1", "name": "NAME1" }, { "type": "TYPE2", "name": "NAME2" }, // ... ] } } } } } }; -
duplicate boolean
Controls whether filtered read-only Activities can be duplicated. The duplicated Activity can be edited by authors.
You would want to use this to allow authors to make new copies of read-only Activities.
Default:
falsevar initializationOptions = { "config": { "global": { “activities": { "read_only": { "filter": { "duplicate": true } } } } } };
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.
The following properties are supported.
-
name string
The Tag name.
Maximum length is 255 characters.
-
type string
The Tag type.
Maximum length is 255 characters.
-