MAPTOPROPLIST
Parameters
Returns
Returns a property list.
Description
This function creates a property list from a map.
It does so by extracting the property ID from the given key. This only works with numeric ids, rather than names.
It is most often used with ENUMFILTER - the following code will create a list of properties that use the enumerated value 'Closed'…
'Open' ENUMFILTER 'propertyid' MAPTOPROPLIST
The ENUMFILTER function returns a map containing two items…
//{ "value": 1, "propertyid": 25}// This function extracts the 'propertyid' key (given by the 2nd parameter) and creates a list of properties containing only property number #25.