Working with application properties and property groups

Each application property has a name, type and value. They are organized into property groups. The idea is that you will establish a group for each type of functionality you wish to provide and then establish individual properties of that type. Though you could establish a single group and dump all of your application-wide settings into that group, the intention is that you will organize your settings into various groups; this will help give a better overview of your application and will make it easier for other developers to understand how to use your settings.

To view the currently available application properties and groups, go to the Application Properties tab of the Infor e-Commerce Development Studio and expand the Property Groups heading. To view a list of properties and values belonging to any group, select the group name in the left pane; the settings are then shown in the Properties Editor (usually shown at the bottom of the Eclipse IDE).

To add a new property group:

  1. Right-click on the Property Groups heading and select Add property group.
  2. Enter a name for the new group in the field provided.
  3. Click OK.

    Use this tab to establish a name, data type and value for each element of your new property group. The Name of each element must be unique for the group. The data type that you use will depend on the purpose of each element; the value must match the specified type.

    To add a new element, enter values in the fields at the top of the window and click on Add.

    To delete an element, select it in the list and click on Delete.

    To edit an element, select it in the list to load its settings into the fields at the top of the window. Then change the values as required and click on Update.

  4. To add an element, in the Properties Editor, click on the plus sign.
  5. Type the following:

    Name

    Name of the element. Name of each element must be unique for the group.

    Type

    Data type of the element. The data type that you use will depend on the purpose of each element.

    Value

    The value of the element. The value must match the specified type.

  6. Continue working with the Property Group Elements tab until you have established all of the elements you need for now.