You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

The following feature is new in Ignition version 8.0.4
Click here to check out the other new features
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}) 
  • No labels