Returns true if the given property exists on the current item.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean itemdata.field.exists(string fieldName)

Parameters

Name Data Type Description
fieldName String Name of the field to check.

Return Value

Data Type Description
Boolean True if the field exists.

Expand image Example

SXML