Skip to main content

FieldLogs

Creating an Object Model

Objects are used to store data.

In Templates,

  • data can be collected to store them in an Object.

  • data that is stored in an Object can be displayed.

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.

The following sections explain how to:

To create an Object model
  1. On the main menu, go to the section Templates.

    Templates_section.png
  2. Select the tab Object_Tab_icon.png Object.

    Object_Tab.png

    The Objects page is displayed.

    Objects_Page.png
  3. Click New.

    New_Object.png

    A new Object model appears in the Objects list.

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

    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
  5. 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

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

To modify the Object model name
  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 needed and then click Save.

    Save_new_name.png

    The new Object name is saved.

To deprecate the Object model
  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.