Skip to main content
Version: 8.1

property

This function is used by Ignition's Expression language.

Description​

Returns an object representing the value of the property at the path specified. It takes a single string as an argument and attempts to lookup the property value at the specified path. What makes this function useful is that the path itself can be the result of an expression, meaning it can be dynamic. Normally, you'd use the expression language's built-in bound-value syntax to use a property value in an expression.

Perspective Only

The property() expression function is only accessible in Perspective.

Syntax​

property(propertyPath)

  • Parameters

    • String propertyPath - The property path to the property.
  • Results

    • Object - The value of the property.

Examples​

Code Snippet
property("this.custom." + {view.params.ControlType})