Getting Started Tutorial 2.x
Create the Product Entity

Entities are the business objects that you will be working with in the hub. For this tutorial we will be using MarkLogic 9’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. We will be using the index and scaffolding generation later in this tutorial.

  • Start by clicking on the Entities tab in the top navigation bar. Click Entities

  1. Click the dancing wrench icon.
  2. Click the New Entity button.
  3. Type Product into the Title field.
  4. Click SAVE. New Entity

You have just created an Entity, albeit not very useful since we didn’t define any properties.

Product Entity

Next Up

Create the Product Input Flow