Enables scripted content fragments to use WikiPageCommentSubscriptions
Methods
IsSubscribed
Velocity
#set($booleanResponse = $core_v2_wikiPageCommentSubscriptions.IsSubscribed($contentId))
JavaScript
var booleanResponse = core_v2_wikiPageCommentSubscriptions.IsSubscribed(contentId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
Returns
Boolean
SetSubscribed
Velocity
#set($additionalInfoResponse = $core_v2_wikiPageCommentSubscriptions.SetSubscribed($contentId, $subscribed))
JavaScript
var additionalInfoResponse = core_v2_wikiPageCommentSubscriptions.SetSubscribed(contentId, subscribed);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
subscribed | Boolean | Subscribed | Required |