(Example) Create a Custom Entity in Data Entities

This example shows how to create a custom entity in Data Entities.

Video: Build Your First Data Entity

Prerequisites

Good to Know

  • This topic provides a simple example with a basic entity based on a sample use case. The use case is based on a shipping company that requires an entity to store information about delivery routes.
  • This is a simple example. It is not intended as a real-world use case.

How to Start

  1. Click App Builder.

    Build Apps screen
  2. On the App Explorer screen, click Data Entities.

    Data Entities

Procedure

  1. On the Data Entities Home screen, click Add Entity.

    Add Entity
  2. On the New Entity screen, in the Display Name field, enter Delivery route.

    When you click Plural Name and Internal Name fields, these fields complete by default based on the value you enter in Display Name field.


    Delivery route
  3. In the Category field, select Customer Service.

    Customer Service
  4. Under Unique Record Details section, in the Record Display Name field, enter Route Number.

    When you click Record Internal Name field, this field complete by default based on the value you enter in Record Display Name field.


    Route Number
  5. In the Record Internal Field Type field, select Auto Increment.

    Auto Increment
  6. Click Create Entity.

    The Data entities creates a custom entity, Delivery Route and an entity field, Route Number.


    Custom entity
  7. Click Add Field.

    Add Field
  8. On the New Field screen, select Text.

    Text
  9. Click Next.
  10. On the New Field screen, in the Display Name field, enter Driver.

    When you click Internal Name field, this field complete by default based on the value you enter in Display Name field.


    Driver
  11. Click Save and New.
  12. On the New Field screen, select Numeric.

    Numeric
  13. Click Next.
  14. On the New Field screen, in the Display Name field, enter Vehicle Number.

    When you click Internal Name field, this field complete by default based on the value you enter in Display Name field


    Vehicle Number
  15. Click Save.

    The entity fields Driver and Vehicle Number are created on the custom entity.


    Entity fields