CurrentProperty
Use the currentProperty object in a derived property expression to
access property metadata such as the property name and description.
Note:
ThecurrentProperty object is available for derived property
expressions only.
The following attributes and methods are available for the
currentProperty object:
| Attribute or Method | Description | Parameter | Example |
|---|---|---|---|
Description |
Attribute that returns the Description of the current property for the expression | None | return currentProperty.description returns the
description of the current property
|
IsValueAllowed (Node data type properties
only)
|
Method that determines whether a specified value exists in the assigned node set and the allowed node types for a node data type property. | Node name to be checked | if currentProperty.isValueAllowed("100"), return
"100" returns a value of 100 only if that value is
allowed for the current property
|
Name |
Attribute that returns the Name of the current property for the expression | None | if currentProperty.name.startsWith("EDM") will
perform the rest of the expression if the name of the current property
starts with EDM.
|