getItemTags()
Gets the current list of Tags associated with the Item being edited. Tags are used in Learnosity authoring to make Items and Activities more contextualized and easily searchable.
You would want to use this method so that you can report on learner performance on a set of Items or Activities, for example.
Examples
authorApp.getItemTags();
Arguments
None.
Return value
- array[tagsV2]
Returns an array of TagsV2 objects.
- boolean
Returns
false
if not in the Item editor view.
Caveats
Any Tags hidden by the hide_tags
initialization option are not returned by this method.
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.