Skip to main content
Skip table of contents

buildMap() Operation for Arrays

Syntax
NONE
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
NONE
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
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.