Skip to end of metadata
Go to start of metadata

Expand/Collapse All

If you want to use custom data types you can create them using the available basic data types.

To create a custom data type, follow the steps below. To illustrate the procedure, an "enumeration" data type is created.

  1. In the Create pane, click the data type element of your choice, click in the open Custom Profile Definition view, and type the name for the data type.

    This name is the data type's internal name (identifier) for Enterprise Studio. It can only contain letters, digits, and underscores. Spaces are not allowed.



  2. Optional: Add the data type name that must be presented to the user when modeling. If you do not add a name, the data type's identifier name will be shown to the user.

    1. Select the data type in the view, and click  to open the data type's properties window.

    2. Click in the translation box, and type the name. This name can contain spaces.



  3. Depending on the data type you have created, perform one of the following additional operations:

     Enumeration

    Add one or more literals to the enumeration. These are the values that can be selected during modeling.

    1. In the Create pane, click the Literal element , select the enumeration in the view, and type the internal name (identifier) for the literal.

    2. Select the literal, and open its properties window.

    3. Optional: Click in the translation box, and type the literal name that must be presented to the user. If you do not add a name, the literal's identifier name will be shown to the user.


    Repeat the steps for each literal you want to add.



     Struct

    Add members to the struct. These are the paired properties that can be set during modeling.

    1. In the Create pane, click the Member element , select the struct in the view, and type the internal name (identifier) for the member.

    2. Select the member, and open its properties window.

    3. Optional: Click in the translation box, and type the struct name that must be presented to the user. If you do not add a name, the struct's identifier name will be shown to the user.

    4. To specify the type of data used for the struct, click in the type box, and in the Profile type window, select the type of the member. It can be a data type or a profile.


    Repeat the steps for each member you want to add.



     List or Set

    Specify the type of data or profile for the list or set: Click in the element type box, and in the Profile type window, select the desired type.



     Alias

    Specify the type of data or profile of which this element is an alias: Click in the aliased type box, and in the Profile type window, select the desired type.



  4. Close the data type's properties window.


The custom data type is now ready and can be assigned to attributes.