Enables scripted content fragments to use Search Categories
Methods
Get
Gets a SearchCategory for a given category name
Velocity
#set($searchCategoryResponse = $core_v2_searchCategory.Get($categoryName))
JavaScript
var searchCategoryResponse = core_v2_searchCategory.Get(categoryName);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
categoryName | String | Category Name | Required |
Returns
List
Lists all enabled Search Categories
Velocity
#set($apiListResponse = $core_v2_searchCategory.List())
JavaScript
var apiListResponse = core_v2_searchCategory.List();