Creating a domain

Use the Domain Properties window of the Create a New Infor LN Software Component wizard to initialize and create a new Domain in your local workspace. This window is the wizard's second dialog box.

For more general information about the wizard, see Create a New Infor LN Software Component wizard.

Note: To use the new domain in an LN application, convert the domain to runtime.

Creating a domain

  1. Start the wizard and select the component type.
    1. Start the wizard.
    2. Specify the software development activity for which you want to create the new domain. Select Domain as the component type.
    3. To go to the Domain Properties window, click Next.
  2. Specify the required domain properties.

    In the Domain Properties window, specify this information:

    Name
    This is a text value. The domain name must start with the code of the package in which the domain is used.
    Description
    The description of the domain.
    Data Type
    The data type of the domain, which is the internal representation of data, such as a string, long, double, date or UTC Date Time.
    If you select a text data type ( String, Set, Enumerated or MultiByte String), specify a Length value greater than 0.
    Length
    The length in characters if the data type of the domain is a (multi-byte) string, or the default display length for data types UTC Date Time, Date, Enumerated and Set.
    For the latter two data types, the length defines the maximum number of characters of the descriptions of the Enumerated or Set data type. Any description with more characters will simply be cut off at the specified length.

    The name, description and data type are always mandatory. The length is only mandatory for data types String, Set, Enumerated and MultiByte String.

    After you created the domain, you cannot change its name anymore. You can change the other properties.

    For more information about the domain properties, see the online help of the Domain Editor.

  3. Create the domain.

    To create the domain in your local workspace and to exit the wizard, click Finish. The created domain appears in the Activity Explorer view of the Application perspective.

    You can now edit the new domain in the Domain Editor.