Determines whether the given channel has a mapping for the specified item's contenttype.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean channel.contains(locator item) boolean channel.contains(locator item, string channelCode) boolean channel.contains(locator item, string channelCode, enum aim) boolean channel.contains(locator item, string channelCode, enum aim, enum aimOptions) |
Parameters
Name | Data Type | Description |
---|---|---|
item | Locator | The item. |
channelCode | String | The channel code. |
aim | Enum |
The AIM settings.
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 item |