Syntax
anArray.buildMap("aKeyName")
Semantics

Build a map from anArray. The operation returns a value of type Map.

SubstitutablesanArrayCan be any variable or object attribute having the type Array and having array elements of complex type.
aKeyNameName of the key attribute of the complex type in double quotes.
Examples
create hashMap;
set hashMap = recordArray.buildMap("name");
recordArray is an array containing elements of type Address.

buildMap() is a convenient method, if you need a map indexing an array.

Example File (Builder project E2E Action Language/Map):

<your example path>\E2E Action Language\map\uml\mapBenchmark.xml