ATTRIBUTE
Returns the child attribute of an object.
Example Usage
ATTRIB(GeoLocation, Latitude, 0) // return the Latitude from a GeoLocation field if it exists, else zero
Overview
Function signature
ATTRIBUTE(data, field, default)
Category
Logical
Return data type
None
Arguments
Name | DataType | List Options | Description |
---|---|---|---|
data | childitem | The data object to examine | |
field | string | The child field or attribute to search for within the data object | |
default | None | The value to return if field cannot be found |