Enables scripted content fragments to use content recommendations
Methods
IgnoreRecommendation
The ignore content recommendations for the accessing user
Usage
$core_v2_contentRecommendation.IgnoreRecommendation($contentId)
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
List
Retrieve a specific content recommendations for the accessing user
Usage
#set($pagedListResponse = $core_v2_contentRecommendation.List("%{ContainerIds = $containerIdsArg, ContentTypeIds = $contentTypeIdsArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, UseCache = $useCacheArg}"))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ContainerIds | string | Specify the comma-separated list of containers used to scope recommendations. | Optional | ||
ContentTypeIds | string | Specify the comma-separated list of types of content to return in recommendations. | Optional | ||
PageIndex | int | Specify the page number of paged results to return. Zero-based index. | Optional | 0 | |
PageSize | int | Specify the number of results to return per page. | Optional | 20 | |
UseCache | bool | Specify whether or not caching can be used to satisfy the request. | Optional |