A complex data type definition represents the schema of the data of type struct. You can create a complex data type definition for a mapping or a mapplet on the Type Definition Library tab of the mapping editor.
In the Developer tool, open the mapping or mapplet where you want to import a complex data type definition.
In the
Outline
view, select the
Type Definition Library
to view the
Type_Definition_Library
tab in the mapping editor.
Right-click an empty area of the editor and click
New Complex Data Type Definition
.
An empty complex data type definition appears on the Type Definition Library tab of the mapping editor.
Optionally, change the name of the complex data type definition.
Click the
New
button to add elements to the data type definition with a name and a type.
The data type of the element can be of primitive or complex data type.