Getting Started Tutorial
Create the Product Entity

Entities are the business objects that you will be working with in the hub. The steps in this tutorial will make use of MarkLogic’s Entity Services feature. Entity Services allows you to model your business entities as JSON. Using these data models, you can then generate code scaffolding, database configurations, index settings, and validations. The Data Hub Framework handles many of these for you. Later in this tutorial we will use the index and scaffolding generation.

To begin creating a Product entity, click on Entities in the top navigation bar:

Click Entities

Use the following procedure to create a Product entity. We will add entity properties to it later.

  1. Click to open the entity tools control.
  2. Click New Entity. The entity creation dialog appears.
  3. Type Product in the Title field.
  4. Click Save. The new Product entity is displayed. If you are prompted to update the index, click No.

    New Entity

When you are done, you should see a representation of the Product entity similar to the following:

Product Entity

Next Up

Create the Product Input Flow