Returns the value of the main content field of the contenttype.

Syntax

Smartsite SXML CopyCode image Copy Code
any itemdata.field()
any itemdata.field(string fieldName)
any itemdata.field(string fieldName, locator reference)
any itemdata.field(string fieldName, locator reference, enum aim)
any itemdata.field(string fieldName, locator reference, enum aim, enum aimOptions)

Parameters

Name Data Type Description
fieldName String Name of the field.
reference Locator The reference.
aim Enum The AIM registration type.
Enum values:
  • Off
    No AIM scan.
  • Normal
    Automatically determine the source, meaning that relations are added to the actual rendered page being rendered.
  • Autonomous
    Forces Autonomous registration of the relation as a relation of the source item itself, even if the source is a Translation or a RenderTemplate.
aimOptions Enum The aim relation options. Default: automatically determined.
Enum values:
  • Auto
    Automatic determine AIM link type.
  • Softlink
    Soft link.
  • Hardlink
    Hard link.

Return Value

Data Type Description
Any The value of the given field

Expand image Remarks

Expand image AIM

Expand image Examples

SXML