====MAPTOPROPLIST==== ===Parameters=== ^Order^Name^Type^Desc^ |1|value|[[map|map]]|The map to work with| |2|keyname|[[const|const]]|The map key to extract the property ID from| ===Returns=== Returns a [[property list|property list]]. ===Description=== This function creates a [[property list|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 [[fENUMFILTER]] - the following code will create a list of properties that use the enumerated value 'Closed'... **'Open' [[fENUMFILTER]] '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. ===See Also=== [[fENUMVALUES]] \\ [[fMAPTOPROPLIST]] \\ [[fMAPFILTER]]