Returns the position of the current sibling in the collection of siblings.

Syntax

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

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer Sibling index.

Used in

Macro Description
Siblings Siblings module allows navigating through a data set by displaying links to first, previous, next and last records.

Expand image Example

SXML