Skip to main content
Version: 1.2.x

Class: DataDictionary

Methods

createMessage()

createMessage(entity): Message

Creates a message from a data dictionary access path.

All configured data formats and data dictionary structures which you have configured in your Project are compiled into one coherent overarching data dictionary.

With this method you can create a message from such a data dictionary structure by providing the access path to the structure which you intend to create.

let message = dataDictionary.createMessage(dataDictionary.type.MyCorp.MyStructure.MySubstructure.Record);

Parameters

entity: EntityDeclaration

Data dictionary access path

Returns

Message

Message created from the data dictionary structure