Gets all contenttypes that can be rendered on the channel.
Syntax
Smartsite SXML | Copy Code |
---|---|
datatable channel.contenttypes() datatable channel.contenttypes(string channelCode) datatable channel.contenttypes(string channelCode, enum aim) datatable channel.contenttypes(string channelCode, enum aim, enum aimOptions) |
Parameters
Name | Data Type | Description |
---|---|---|
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 |
---|---|
DataTable |
Data Table Columns
Name | Data Type |
---|---|
Area | Integer |
Code | String |
ContentLevel | Integer |
DefaultWorkflow | Integer |
DerivedFrom | T:Smartsite.Core.ContentType |
Description | String |
Icon | String |
Identifier | T:System.Guid |
IsBrowsable | Boolean |
IsPublication | Boolean |
IsRepository | Boolean |
ItemTreeFormat | String |
MainField | String |
Name | String |
Number | Integer |
TreeFormat | String |