Returns the current item's parent number.

Syntax

Smartsite SXML CopyCode image Copy Code
integer itemdata.parent()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer The number of the parent of the current item.

Expand image Example

SXML