Enables scripted content fragments to use user recommendations
Methods
IgnoreRecommendation
The ignore user recommendations for the accessing user
Velocity
$core_v2_userRecommendation.IgnoreRecommendation($userId)
JavaScript
core_v2_userRecommendation.IgnoreRecommendation(userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | Int32 | User Id | Required |
Returns
NothingList
Retrieve a specific User recommendations for the accessing user
Velocity
#set($pagedListResponse = $core_v2_userRecommendation.List("%{ PageIndex = $pageIndexArg, PageSize = $pageSizeArg }"))
JavaScript
var pagedListResponse = core_v2_userRecommendation.List({ PageIndex: pageIndexArg, PageSize: pageSizeArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | Options | Set of optional parameters including: | Required | ||
PageIndex | Int32 | Specify the page number of paged results to return. Zero-based index. | Optional | 0 | |
PageSize | Int32 | Specify the number of results to return per page. | Optional | 20 |