Determines whether the channel can render the given contenttype.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean channel.contenttypes.exists(string contentTypeCodeOrIdentifier) boolean channel.contenttypes.exists(string contentTypeCodeOrIdentifier, string channelCode) boolean channel.contenttypes.exists(string contentTypeCodeOrIdentifier, string channelCode, enum aim) boolean channel.contenttypes.exists(string contentTypeCodeOrIdentifier, string channelCode, enum aim, enum aimOptions) |
Parameters
Name | Data Type | Description |
---|---|---|
contentTypeCodeOrIdentifier | String | The ContentType code or globally unique identifier. |
channelCode | String | The channel code. |
aim | Enum |
The aim.
Enum values:
|
aimOptions | Enum |
The aim relation options. Default: automatically determined.
Enum values:
|
Return Value
Data Type | Description |
---|---|
Boolean | True if the channel can render the contenttype |