(Example) Create a Custom Entity in Data Entities

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

Video: Build Your First Custom 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 Build Apps Build Apps icon.

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


Procedure

  1. On the Home screen, click Add Entity Add Entity icon.


  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.



  3. In the Category field, select 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.



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


  6. Click Create Entity.

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



  7. Click Add Field Add Field icon.


  8. On the New Field screen, select 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.



  11. Click Save and New.
  12. On the New Field screen, select 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



  15. Click Save.

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