Returns the value of the field in the current channel.
Syntax
Smartsite SXML | Copy Code |
---|---|
any channel.data(string fieldName) any channel.data(string fieldName, string channelCode) any channel.data(string fieldName, string channelCode, enum aim) any channel.data(string fieldName, string channelCode, enum aim, enum aimOptions) |
Parameters
Name | Data Type | Description |
---|---|---|
fieldName | String | Name of the field. |
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 |
---|---|
Any | Specified property of the current channel. |