Get the level of the current parent, counted from the start item upward.

Syntax

Smartsite SXML CopyCode image Copy Code
integer this.parentlevel()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer The level of the current parent.

Used in

Macro Description
Parents Shows links to parent pages.
SXML