Gets the typed property by position.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
any this.getvaluebyposition(integer position)
any this.getvaluebyposition(string name, integer position)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
any page.<id>.getvaluebyposition(integer position)
any page.<id>.getvaluebyposition(string name, integer position)

Parameters

Name Data Type Description
position Integer The position of the child property.
name String The name of the parent property. Use the . operator to query within nested objects.

Return Value

Data Type Description
Any The typed value of the property

Used in

Macro Description
Json The JSON macro can parse a JSON string. It exposes properties to query the resulting object and methods to modify it.

Expand image Example

SXML