Skip to main content

FieldLogs

Defining an Object Model

Objects are used to store data.

In Templates, you can:

  • Collect and store data in an Object.

  • Display data stored in an Object.

To store data in an Object, an Object model must be created first. The Object model is made of an Object key (the primary property that uniquely identifies the set of data) and one or more properties can be added. You can then add data to the Object. The data that you add is used in Enterprise Datasets to query the required data Object.

You can modify the Object model name at any time. If needed, you can also deprecate the Object model.

  1. On the main menu, go to Enterprise > Data > Object Definition.

    Templates_section.png

    The Object Definition page is displayed.

    ObjectDefinition.png
  2. Click New.

    ClickNew.png

    A new Object model appears in the Objects list.

    New_object_Model.png
  3. Enter a name for the Object.

    NewObjectModel.png

    By default, New is displayed. The Object name can contain only alphanumeric characters and underscores (_). The Object name can be modified at any time.

    Object_Name.png
  4. Click Save.

    Save_Object_Model.png

    The Object model is created and appears in the Objects list.

    Object_model_added_to_list.png

    The following warning message is displayed below the Object model name. It disappears when you add an Object key.

    Warning_Object_Model.png

    You can add an Object key and simple properties to the Object model. You can then add data to the Object.

You can modify the Object model name after creating the Object Model.

  1. In the Objects list, select the Object model.

    Select_Object_Model_to_Edit.png
  2. Click Plus_sign_object_model.png. A list of options is displayed.

    List_of_options_-_Object_model.png
  3. Select Edit.

    Edit_Object_Model.png
  4. Modify the Object name as required and click Save.

    Save_new_name.png

    The new Object name is saved.

The created Object model can be deprecated if required.

  1. In the Objects list, select the Object model that you want to deprecate.

    Select_Object_Model_to_Edit.png
  2. Click Plus_sign_object_model.png. A list of options is displayed.

    List_of_options_-_Object_model.png
  3. Select Edit.

    Edit_Object_Model.png
  4. Click Deprecate.

    Deprecate_Object_Model.png

    A confirmation dialog box is displayed.

    Deprecate_Object_Model_Confirmation.png
  5. Click Yes.

    Yes_on_confirmation_box.png

    The Object model is deprecated and disappears from the Objects list.