Returns the given field value of the Render Template of the current item.

Syntax

Smartsite SXML CopyCode image Copy Code
any itemdata.template(string fieldName)

Parameters

Name Data Type Description
fieldName String Name of the field.

Return Value

Data Type Description
Any The contents of the given template field for the current item.

Expand image Example

SXML