Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 12.x
  • Verint Community
Verint Community 12.x
API Documentation core_v2_tags Script API
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • +REST API Documentation
  • -Widget, Theme, and Automation APIs
    • +Automation Events
    • +Client-side APIs
    • +Dynamic Configuration
    • +LESS Functions
    • +Script API Types
    • -Script APIs
      • articles_v1_articleCategories Script API
      • articles_v1_articleCollections Script API
      • articles_v1_articles Script API
      • articles_v1_articleTypes Script API
      • articles_v1_articleUrls Script API
      • articles_v1_articleVersionCategories Script API
      • articles_v1_articleVersions Script API
      • articles_v1_categories Script API
      • articles_v1_helpfulness Script API
      • articles_v1_helpfulnessResponseTypes Script API
      • articles_v1_permissions Script API
      • articles_v1_publishGroups Script API
      • articles_v1_subscriptionTypes Script API
      • calendar_v1_calendars Script API
      • calendar_v1_events Script API
      • calendar_v1_permissions Script API
      • calendar_v1_registrations Script API
      • calendar_v1_resources Script API
      • calendar_v1_UI Script API
      • calendar_v1_urls Script API
      • context_v2_automationState Script API
      • context_v2_automationTrigger Script API
      • context_v2_embeddable Script API
      • context_v2_propertyRule Script API
      • context_v2_propertyTemplate Script API
      • context_v2_scheduledFile Script API
      • context_v2_themeBody Script API
      • context_v2_themeHeader Script API
      • core_v1_reportingPermissions Script API
      • core_v1_reportingUrls Script API
      • core_v2_abuseAppeal Script API
      • core_v2_abuseReport Script API
      • core_v2_abusiveContent Script API
      • core_v2_achievement Script API
      • core_v2_achievementSummary Script API
      • core_v2_activityStory Script API
      • core_v2_activityStorySitePreference Script API
      • core_v2_activityStoryUserPreference Script API
      • core_v2_apiKey Script API
      • core_v2_application Script API
      • core_v2_applicationMerge Script API
      • core_v2_applicationSubscription Script API
      • core_v2_applicationType Script API
      • core_v2_authentication Script API
      • core_v2_authorQualityScore Script API
      • core_v2_automation Script API
      • core_v2_blog Script API
      • core_v2_blogConfiguration Script API
      • core_v2_blogPermissions Script API
      • core_v2_blogPost Script API
      • core_v2_blogPostSummary Script API
      • core_v2_blogUrls Script API
      • core_v2_bookmark Script API
      • core_v2_calculatedScores Script API
      • core_v2_captureThreadToArticle Script API
      • core_v2_cfs Script API
      • core_v2_comments Script API
      • core_v2_commentSummary Script API
      • core_v2_commentVotes Script API
      • core_v2_configuration Script API
      • core_v2_container Script API
      • core_v2_containerType Script API
      • core_v2_content Script API
      • core_v2_contentConversion Script API
      • core_v2_contentPresence Script API
      • core_v2_contentQualityScore Script API
      • core_v2_contentRecommendation Script API
      • core_v2_contentSubscribers Script API
      • core_v2_contentSubscription Script API
      • core_v2_contentType Script API
      • core_v2_contentViews Script API
      • core_v2_conversation Script API
      • core_v2_conversationMessage Script API
      • core_v2_customNavigation Script API
      • core_v2_customPage Script API
      • core_v2_dynamicForm Script API
      • core_v2_editableGroup Script API
      • core_v2_editor Script API
      • core_v2_email Script API
      • core_v2_emailDigest Script API
      • core_v2_emoticon Script API
      • core_v2_encoding Script API
      • core_v2_eventLog Script API
      • core_v2_exceptions Script API
      • core_v2_follower Script API
      • core_v2_following Script API
      • core_v2_forum Script API
      • core_v2_forumConfiguration Script API
      • core_v2_forumPermissions Script API
      • core_v2_forumReply Script API
      • core_v2_forumReplyVote Script API
      • core_v2_forumThread Script API
      • core_v2_forumThreadVote Script API
      • core_v2_forumUrls Script API
      • core_v2_friendship Script API
      • core_v2_gallery Script API
      • core_v2_group Script API
      • core_v2_groupAuthorQualityScore Script API
      • core_v2_groupContactRequest Script API
      • core_v2_groupPermissions Script API
      • core_v2_groupRoleMember Script API
      • core_v2_groupUrls Script API
      • core_v2_groupUserMember Script API
      • core_v2_hashTag Script API
      • core_v2_http Script API
      • core_v2_infoResult Script API
      • core_v2_language Script API
      • core_v2_ldapGroups Script API
      • core_v2_ldapUsers Script API
      • core_v2_leader Script API
      • core_v2_leaderboard Script API
      • core_v2_leaderboardUrls Script API
      • core_v2_like Script API
      • core_v2_likedItem Script API
      • core_v2_media Script API
      • core_v2_mediaConfiguration Script API
      • core_v2_mediaPermissions Script API
      • core_v2_mediaUrls Script API
      • core_v2_mention Script API
      • core_v2_mentionable Script API
      • core_v2_message Script API
      • core_v2_moderationTemplates Script API
      • core_v2_notification Script API
      • core_v2_notificationCategory Script API
      • core_v2_notificationDistributionType Script API
      • core_v2_notificationType Script API
      • core_v2_notificationUserPreference Script API
      • core_v2_oauthClient Script API
      • core_v2_page Script API
      • core_v2_permission Script API
      • core_v2_pointTransaction Script API
      • core_v2_poll Script API
      • core_v2_process Script API
      • core_v2_ratedItem Script API
      • core_v2_rating Script API
      • core_v2_reviewableContent Script API
      • core_v2_role Script API
      • core_v2_roleUsers Script API
      • core_v2_rssFeedItem Script API
      • core_v2_search Script API
      • core_v2_searchCategory Script API
      • core_v2_searchResult Script API
      • core_v2_servicePresence Script API
      • core_v2_sitePermissions Script API
      • core_v2_statusMessage Script API
      • core_v2_submittableEditor Script API
      • core_v2_systemNotification Script API
      • core_v2_taggedContent Script API
      • core_v2_tags Script API
      • core_v2_theme Script API
      • core_v2_themeFooter Script API
      • core_v2_themeHeader Script API
      • core_v2_themePage Script API
      • core_v2_tourTip Script API
      • core_v2_ui Script API
      • core_v2_uploadedFile Script API
      • core_v2_urls Script API
      • core_v2_user Script API
      • core_v2_userAchievement Script API
      • core_v2_userFile Script API
      • core_v2_userFolder Script API
      • core_v2_userInvitation Script API
      • core_v2_userPermission Script API
      • core_v2_userProfileField Script API
      • core_v2_userProfileFieldGroup Script API
      • core_v2_userRecommendation Script API
      • core_v2_userValidation Script API
      • core_v2_utility Script API
      • core_v2_webhook Script API
      • core_v2_webhookEvent Script API
      • core_v2_widget Script API
      • core_v2_wiki Script API
      • core_v2_wikiConfiguration Script API
      • core_v2_wikiFiles Script API
      • core_v2_wikiPage Script API
      • core_v2_wikiPageCommentSubscriptions Script API
      • core_v2_wikiPageRevision Script API
      • core_v2_wikiPermissions Script API
      • core_v2_wikiToc Script API
      • core_v2_wikiUrls Script API
      • core_v3_feature Script API
      • core_v3_permission Script API
      • telligentIdeas_v1_challenges Script API
      • telligentIdeas_v1_ideaCategories Script API
      • telligentIdeas_v1_ideaPermissions Script API
      • telligentIdeas_v1_ideas Script API
      • telligentIdeas_v1_ideaStatuses Script API
      • telligentIdeas_v1_statuses Script API
      • telligentIdeas_v1_urls Script API
      • telligentIdeas_v1_userVoteSummaries Script API
      • telligentIdeas_v1_votes Script API

core_v2_tags Script API


Enables scripted content fragments to get tags.

  • Properties
  • Add
  • CanAddTags
  • CanAddTagsInApplication
  • CanAddTagsInApplicationType
  • CanDeleteTagsInApplication
  • CanDeleteTagsInApplicationType
  • CanRemoveTags
  • CanRenameTagsInApplication
  • CanRenameTagsInApplicationType
  • Delete
  • Get
  • List
  • ListTaggedContent
  • ListTags
  • Remove
  • Rename
  • Set
  • Sort
  • SupportsTags
  • ToStrings

Properties

NameAccessTypeDescription
CurrentReadIList of StringCurrent

Methods

Add

Add Overload 1

Add a tag or tags to a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Add($contentId, $contentTypeId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Add(contentId, contentTypeId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Add Overload 2

Add a tag or tags to a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Add($contentId, $contentTypeId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Add(contentId, contentTypeId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired

Add Overload 3

Add a tag or tags to a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Add($contentUrl, $oauthClientId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Add(contentUrl, oauthClientId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Add Overload 4

Add a tag or tags to a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Add($contentUrl, $oauthClientId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Add(contentUrl, oauthClientId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired

Add Overload 5

Creates a seed tag.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Add($tag, "%{ ApplicationId = $applicationIdArg, ApplicationTypeId = $applicationTypeIdArg, TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Add(tag, { ApplicationId: applicationIdArg, ApplicationTypeId: applicationTypeIdArg, TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagStringTagRequired
optionsOptionsSet of optional parameters including:Required
ApplicationIdGuidA content application identifier to filter byOptional
ApplicationTypeIdGuidA content application type identifier to filter byOptional
TypeIdGuidA tag type identifier to filter byOptional

Returns

AdditionalInfo

CanAddTags

CanAddTags Overload 1

Checks whether the accessing user can add tags to this content type.

Velocity

#set($booleanResponse = $core_v2_tags.CanAddTags($contentId, $contentTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanAddTags(contentId, contentTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired

CanAddTags Overload 2

Checks whether the accessing user can add tags to this content type.

Velocity

#set($booleanResponse = $core_v2_tags.CanAddTags($contentUrl, $oauthClientId))

JavaScript

var booleanResponse = core_v2_tags.CanAddTags(contentUrl, oauthClientId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired

Returns

Boolean

CanAddTagsInApplication

Checks whether the accessing user can add seed tags for a specific application

Velocity

#set($booleanResponse = $core_v2_tags.CanAddTagsInApplication($applicationId, $applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanAddTagsInApplication(applicationId, applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationIdGuidApplication IdRequired
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

CanAddTagsInApplicationType

Checks whether the accessing user can add seed tags for a specific application

Velocity

#set($booleanResponse = $core_v2_tags.CanAddTagsInApplicationType($applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanAddTagsInApplicationType(applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

CanDeleteTagsInApplication

Checks whether the accessing user can remove tags in bulk for a specific application

Velocity

#set($booleanResponse = $core_v2_tags.CanDeleteTagsInApplication($applicationId, $applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanDeleteTagsInApplication(applicationId, applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationIdGuidApplication IdRequired
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

CanDeleteTagsInApplicationType

Checks whether the accessing user can remove tags in bulk for a specific application type

Velocity

#set($booleanResponse = $core_v2_tags.CanDeleteTagsInApplicationType($applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanDeleteTagsInApplicationType(applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

CanRemoveTags

CanRemoveTags Overload 1

Checks whether the accessing user can remove tags from this content type.

Velocity

#set($booleanResponse = $core_v2_tags.CanRemoveTags($contentId, $contentTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanRemoveTags(contentId, contentTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired

CanRemoveTags Overload 2

Checks whether the accessing user can remove tags from this content type.

Velocity

#set($booleanResponse = $core_v2_tags.CanRemoveTags($contentUrl, $oauthClientId))

JavaScript

var booleanResponse = core_v2_tags.CanRemoveTags(contentUrl, oauthClientId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired

Returns

Boolean

CanRenameTagsInApplication

Checks whether the accessing user can rename tags in bulk for a specific application

Velocity

#set($booleanResponse = $core_v2_tags.CanRenameTagsInApplication($applicationId, $applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanRenameTagsInApplication(applicationId, applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationIdGuidApplication IdRequired
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

CanRenameTagsInApplicationType

Checks whether the accessing user can rename tags in bulk for a specific application

Velocity

#set($booleanResponse = $core_v2_tags.CanRenameTagsInApplicationType($applicationTypeId))

JavaScript

var booleanResponse = core_v2_tags.CanRenameTagsInApplicationType(applicationTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
applicationTypeIdGuidApplication Type IdRequired

Returns

Boolean

Delete

Delete a tag.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Delete($tag, "%{ ApplicationId = $applicationIdArg, ApplicationTypeId = $applicationTypeIdArg, TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Delete(tag, { ApplicationId: applicationIdArg, ApplicationTypeId: applicationTypeIdArg, TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagStringTagRequired
optionsOptionsSet of optional parameters including:Required
ApplicationIdGuidA content application identifier to filter byOptional
ApplicationTypeIdGuidA content application type identifier to filter byOptional
TypeIdGuidA tag type identifier to filter byOptional

Returns

AdditionalInfo

Get

Get Overload 1

Get tags for a piece of content.

Velocity

#set($apiListResponse = $core_v2_tags.Get($contentId, $contentTypeId, "%{ TypeId = $typeIdArg }"))

JavaScript

var apiListResponse = core_v2_tags.Get(contentId, contentTypeId, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Get Overload 2

Get tags for a piece of content.

Velocity

#set($apiListResponse = $core_v2_tags.Get($contentId, $contentTypeId))

JavaScript

var apiListResponse = core_v2_tags.Get(contentId, contentTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired

Get Overload 3

Get tags for a piece of content.

Velocity

#set($apiListResponse = $core_v2_tags.Get($contentUrl, $oauthClientId, "%{ TypeId = $typeIdArg }"))

JavaScript

var apiListResponse = core_v2_tags.Get(contentUrl, oauthClientId, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Get Overload 4

Get tags for a piece of content.

Velocity

#set($apiListResponse = $core_v2_tags.Get($contentUrl, $oauthClientId))

JavaScript

var apiListResponse = core_v2_tags.Get(contentUrl, oauthClientId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired

Returns

ApiList of ContentTag

List

Gets a list of tags given the options provided.

Velocity

#set($pagedListResponse = $core_v2_tags.List("%{ ApplicationIds = $applicationIdsArg, ApplicationTypeIds = $applicationTypeIdsArg, ContainerIds = $containerIdsArg, ContentTypeIds = $contentTypeIdsArg, IncludeSubContainers = $includeSubContainersArg, LogicallyOrTags = $logicallyOrTagsArg, MinimumContentCount = $minimumContentCountArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, SortBy = $sortByArg, SortOrder = $sortOrderArg, TagNameFilter = $tagNameFilterArg, Tags = $tagsArg, TypeId = $typeIdArg }"))

JavaScript

var pagedListResponse = core_v2_tags.List({ ApplicationIds: applicationIdsArg, ApplicationTypeIds: applicationTypeIdsArg, ContainerIds: containerIdsArg, ContentTypeIds: contentTypeIdsArg, IncludeSubContainers: includeSubContainersArg, LogicallyOrTags: logicallyOrTagsArg, MinimumContentCount: minimumContentCountArg, PageIndex: pageIndexArg, PageSize: pageSizeArg, SortBy: sortByArg, SortOrder: sortOrderArg, TagNameFilter: tagNameFilterArg, Tags: tagsArg, TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
optionsOptionsSet of optional parameters including:Required
ApplicationIdsStringComma-separated list of content application identifiers to filter byOptional
ApplicationTypeIdsStringComma-separated list of content application type identifiers to filter byOptional
ContainerIdsStringComma-separated list of content container identifiers to filter byOptional
ContentTypeIdsStringComma-separated list of content type identifiers to filter byOptional
IncludeSubContainersStringInclude sub containers of the containers listed in ContainerIdsOptional
LogicallyOrTagsBooleanEnables filtering by logically OR-ing the filter tagsOptionalFalse
MinimumContentCountInt32Sets the minimum number of matching content required to return a tagOptional1
PageIndexInt32Specify the page number of paged results to return. Zero-based index.Optional0
PageSizeInt32Specify the number of results to return per page.Optional20
SortByStringHow the results will be sorted(Name, ContentCount, LatestTaggedDate)OptionalName
SortOrderStringThe sort order of the itemsOptionalAscendingAscending, Descending
TagNameFilterStringSearch for tags by nameOptional
TagsStringA comma-seperated list of filter tagsOptional
TypeIdGuidA tag type identifier to filter byOptional

Returns

PagedList of Tag

ListTaggedContent

Lists tagged content. This method is supported for backwards compatibility, but $core_v2_taggedContent.List() should be used if possible.

Velocity

#set($pagedListResponse = $core_v2_tags.ListTaggedContent($tags, "%{ PageIndex = $pageIndexArg, PageSize = $pageSizeArg }"))

JavaScript

var pagedListResponse = core_v2_tags.ListTaggedContent(tags, { PageIndex: pageIndexArg, PageSize: pageSizeArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagsIList of StringTagsRequired
optionsOptionsSet of optional parameters including:Required
PageIndexInt32Specify the page number of paged results to return. Zero-based index.Optional0
PageSizeInt32Specify the number of results to return per page.Optional20

Returns

PagedList of TaggedContent

ListTags

Lists tags. This method is supported for backwards compatibility, but $core_v2_tags.List() should be used if possible.

Velocity

#set($pagedListResponse = $core_v2_tags.ListTags("%{ FilterTags = $filterTagsArg }"))

JavaScript

var pagedListResponse = core_v2_tags.ListTags({ FilterTags: filterTagsArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
optionsOptionsSet of optional parameters including:Required
FilterTagsIList of StringComma separated list of tags to filterOptional

Returns

PagedList of Tag

Remove

Remove Overload 1

Remove a tag or tags from a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Remove($contentId, $contentTypeId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Remove(contentId, contentTypeId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Remove Overload 2

Remove a tag or tags from a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Remove($contentId, $contentTypeId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Remove(contentId, contentTypeId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired

Remove Overload 3

Remove a tag or tags from a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Remove($contentUrl, $oauthClientId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Remove(contentUrl, oauthClientId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Remove Overload 4

Remove a tag or tags from a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Remove($contentUrl, $oauthClientId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Remove(contentUrl, oauthClientId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired

Returns

AdditionalInfo

Rename

Rename a tag.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Rename($originalTag, $replacementTag, "%{ ApplicationId = $applicationIdArg, ApplicationTypeId = $applicationTypeIdArg, TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Rename(originalTag, replacementTag, { ApplicationId: applicationIdArg, ApplicationTypeId: applicationTypeIdArg, TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
originalTagStringOriginal TagRequired
replacementTagStringReplacement TagRequired
optionsOptionsSet of optional parameters including:Required
ApplicationIdGuidA content application identifier to filter byOptional
ApplicationTypeIdGuidA content application type identifier to filter byOptional
TypeIdGuidA tag type identifier to filter byOptional

Returns

AdditionalInfo

Set

Set Overload 1

Set tags for a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Set($contentId, $contentTypeId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Set(contentId, contentTypeId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Set Overload 2

Set tags for a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Set($contentId, $contentTypeId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Set(contentId, contentTypeId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
contentTypeIdGuidContent Type IdRequired
tagsStringComma-separated list of tagsRequired

Set Overload 3

Set tags for a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Set($contentUrl, $oauthClientId, $tags, "%{ TypeId = $typeIdArg }"))

JavaScript

var additionalInfoResponse = core_v2_tags.Set(contentUrl, oauthClientId, tags, { TypeId: typeIdArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired
optionsOptionsSet of optional parameters including:Required
TypeIdGuidCategorization typeOptional

Set Overload 4

Set tags for a piece of content.

Velocity

#set($additionalInfoResponse = $core_v2_tags.Set($contentUrl, $oauthClientId, $tags))

JavaScript

var additionalInfoResponse = core_v2_tags.Set(contentUrl, oauthClientId, tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentUrlStringContent UrlRequired
oauthClientIdGuidOauth Client IdRequired
tagsStringComma-separated list of tagsRequired

Returns

AdditionalInfo

Sort

Sort Overload 1

Sorts a list of tag instances

Velocity

#set($iListResponse = $core_v2_tags.Sort($tags))

JavaScript

var iListResponse = core_v2_tags.Sort(tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagsIList of TagTagsRequired

Sort Overload 2

Sorts a list of tag instances

Velocity

#set($iListResponse = $core_v2_tags.Sort($tags, "%{ CssClasses = $cssClassesArg, MaximumNumberOfTags = $maximumNumberOfTagsArg, MinimumItemsPerTag = $minimumItemsPerTagArg }"))

JavaScript

var iListResponse = core_v2_tags.Sort(tags, { CssClasses: cssClassesArg, MaximumNumberOfTags: maximumNumberOfTagsArg, MinimumItemsPerTag: minimumItemsPerTagArg });

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagsIList of TagTagsRequired
optionsOptionsSet of optional parameters including:Required
CssClassesIList of StringWhen provided, applies CSS classes to tags according to their relative use.Optional
MaximumNumberOfTagsInt32When provided, removes tags that are used more than the maximum threshold from the sorted listOptional
MinimumItemsPerTagInt32When provided, removes tags that are used less than the minium threshold from the sorted listOptional

Returns

IList of Tag

SupportsTags

Check whether the content type supports tagging.

Velocity

#set($booleanResponse = $core_v2_tags.SupportsTags($contentTypeId))

JavaScript

var booleanResponse = core_v2_tags.SupportsTags(contentTypeId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentTypeIdGuidContent Type IdRequired

Returns

Boolean

ToStrings

Converts a list of tag instances to a list of tag name strings

Velocity

#set($iListResponse = $core_v2_tags.ToStrings($tags))

JavaScript

var iListResponse = core_v2_tags.ToStrings(tags);

Parameters

NameTypeDescriptionRequiredDefaultOptions
tagsIList of TagTagsRequired

Returns

IList of String


  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2022 Verint, Inc.
Powered by Verint Community