To create a new type descriptor
1.
Select the Type Descriptors in the navigation bar to display a list of existing type descriptors.
2.
Select Add New in the navigation tab area.
The screen updates to display the type descriptor fields.
If the type descriptor will be used in a container component, check the Use for Container checkbox at the top of the screen.
The screen will refresh to show one additional field (Compression) in the Field Attributes area. In addition to the fields and checkboxes, a date field (TimeStamp) is automatically included in the type descriptor.
3.
In the Type Descriptor Name text box, enter the name.
4.
Define the Field Attributes for each field in the type descriptor. The Field Attributes describe the characteristics of a specific column in the type descriptor you are creating. The order of the field columns within the type descriptor is determined by the order in which you add fields.
a.
In the Field Name text box enter the field name.
b.
Select a Data Type from the drop-down list. The types are:
*
*
*
*
*
c.
If the field is defined as a String data type, enter the Size of the field.
d.
Depending on the data type, you may see different options. The Compression types include:
e.
Select a Field Type from the drop-down list. The options you see may depend on the other selections you have made. The types are:
*
As Attribute — This option is available for all data types; it is the most common setting. Use it for a field you might just want to look at. If this type descriptor is for container use, this is the only option you will see.
*
As Date — This option enables date data to be used for calculations.
*
As ID — While not typically used, this setting designates the field as a unique identifier for a join.
f.
Enter a Default Value for the field if one is required.
g.
*
Allow NULL — when checked, the field can contain a NULL value.
*
Is Unique — when checked, the system will only insert the first, unique instance of the field into the container.
*
*
h.
*
i.
Click the Add Fieldbutton on the right-hand side of the page.
As you add fields to the type descriptor, the editor displays their attributes in the lower portion of the screen.
5.
6.
Click Save Definition when complete. Or, if you want to delete all the fields you have been defining, click Clear Definition.