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 the dancing wrench icon.
- Click the New Entity button.
- Type Product into the Title field.
- Click SAVE.
You have just created an Entity, albeit not very useful since we didn’t define any properties.