Adding Custom Fields

Adding Custom Fields

Custom fields are created by the user to obtain specific information tailored to their needs. A custom field can be added to a model and custom module. For this illustration, we will be adding a custom field to the Fuel Tank asset model.

To add a custom field, 
  1. Access the Developer Application.



  2. In the left pane, select Assets (you can select Devices, Locations, or Modules based on where you want to add the custom field).



  3. Click the model to which you want to add the custom field. For this illustration, Fuel Tank is selected.



  4. On the Model Information page, select Fields in the left pane.



  5. Click Edit Form Layout. You will now access the form builder.



  6. From the palette, drag and drop the required field based on the data type of the information to be obtained. For this illustration, a Decimal field is added.



    Info
    Learn more about the available custom field types

  7. Provide the details of the field. Here is an example:

    Field Label                            :
     Fuel Topped Up
    Mandatory                            : Off
    Max Digits Allowed              : 16
    Number of Decimal Places  :  3 
    Encrypt Data.                        : Off
    Show Tooltip                         : On
    Tooltip Message.                  : Quantity of Newly Added Fuel
    Show Type                            : Place Holder



    Info
    Learn more about each field in detail

  8. Click Save.


The custom field will now be added and available in all instances based on this model.



NotesNote: Once a custom field is added, it will be available across all models and modules in the application and can be reused.
To access an already added custom field, select the Gallery tab in the field builder pane and drag and drop from there.



Here you can see that the Fuel Topped Up field added to the Fuel Tank model is now available in the Water Tank model as well.