Enables scripted content fragments to use Features
Methods
List
Obsolete in 10.0: Use $core_v3_feature.List() instead.
Velocity
#set($apiListResponse = $core_v2_feature.List("%{ Application = $applicationArg, Count = $countArg, GroupId = $groupIdArg, UserId = $userIdArg }"))JavaScript
var apiListResponse = core_v2_feature.List({ Application: applicationArg, Count: countArg, GroupId: groupIdArg, UserId: userIdArg });Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| options | Options | Set of optional parameters including: | Required | ||
| Application | String | Used to filter to specific applications. | Optional | Unknown | Calendar, Forum, MediaGallery, Unknown, Weblog, Wiki |
| Count | Number | The number of featured items to return | Optional | ||
| GroupId | Number | Id of the group | Optional | ||
| UserId | Number | Id of the user | Optional |
Returns
ToString
Velocity
#set($stringResponse = $core_v2_feature.ToString())
JavaScript
var stringResponse = core_v2_feature.ToString();