Enables scripted content fragments to use content types
Methods
Get
Retrieves a content type by its identifier
Velocity
#set($contentTypeResponse = $core_v2_contentType.Get($contentTypeId))
JavaScript
var contentTypeResponse = core_v2_contentType.Get(contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentTypeId | Guid | Content type identifier | Required |
Returns
List
Lists available content types
Velocity
#set($iApiListResponse = $core_v2_contentType.List())
JavaScript
var iApiListResponse = core_v2_contentType.List();