ENUMFILTER
Parameters
Order | Name | Type | Desc |
---|---|---|---|
1 | value | const | The text string to search for |
Returns
Returns a map containing enum information.
Description
This function returns each of the properties and numeric values that have a text value of value.
Calling this function with the parameter “Closed” would search every property for a discrete value of “Closed”. It would then return a map with the following structure…
{ { "value" : 1, "propertyid": 25 }, { "value": 2, "propertyid": 76 } }
This means that Closed is present on property 25 (in which the value for Closed is '1') and property 76 (in which the value for Closed is 2)
Note that only enumeration, digital and lookup functions provide enumeration information.
This function is often paired with MAPFILTER, and MAPTOPROPLIST.