Add Fields to Business Objects

You can use the Fields tab of the Business Object editor to create fields for your business objects.

You can create new fields for your business object while it is in Development status.

To add a new field:

  1. Open the Fields tab of the business object that you want to edit.
  2. Click the + Field button, then select Field.
  3. In the Label field, enter the name of the field (which is set as the display label).
    The Field Name, by default, is filled in based on the field label, but can be changed if you want.

    Note:

    Do not use "items" as a field name; it's a reserved keyword used for the array that contains the fields in the business object's endpoint description and should not be used as a field name.
  4. Select the Type of the field.

    Available types are String, Number, Boolean, Datetime, Date, Time, Reference, Email, Percentage, Phone, and Uri. For a Reference type, you’ll need to specify the Referenced Business Object and the Display Field.

    For a string type field, make sure your data doesn't exceed 4000 bytes.

  5. Click Create.