A data model is an abstract representation of how product data on a PIM solution is connected and organized -this is where you define:
- Which product attributes are available on different types of products
- Which product attributes are inherited and which aren't
- Etc.
Data models are created in a group-like structures using the Product > Data models section:

In many cases you will have a main categories structure which contains a hierarchal representation of the product categories in the product catalog, and several smaller data structues with data about a manufacturer or peripherals which can be added to products on a case-by-case basis. If you're not familiar with data modeling as a discipline you can read about data modeling in the linked article.
In this article we will cover how to:
- Create data models
- Assign attributes to them
- Assign workflows and completeness rules to them
- Work with data models once they've been created and set up
- How to create and use data sets
Creating a data model
Data models are created under one or more data structures:

- Open the context menu for the folder/data structure or use the buttons in the workspace to press New data model or New folder
- Fill in the details:
- Name
- Number
- Icon (data model only)
- Save
As you can see in the gif below (or on your solution), a data model has four tabs:

- Assigned products lists all products with this data model attached (currently none)
- Data sets shows all data sets created for the model
- Details shows general information about the model as well as all product attributes associated with it, whether they're explicitly added here or inherited from upstream (currently none)
- Relations shows any default relations set up for products with this data model attached
Assigning product attributes to a model
In almost all scenarios, you want products with this model attached to be enriched with a set of specific product attributes befitting the data model - to make that happen:
- Open the folder/model and switch to the *Attributes-tab
- Select a category group
- Check/uncheck inherit fields from parent group
- Save

After saving, the product attributes from the selected category group and any fields inherited from the parent group will be available from the Details-tab - as you can see, you can press Edit to open the Attributes-tab again and fill in values:

Any values you select or enter here will be used as default values for new products created in the context of this data model, e.g. inside a dynamic workspace based on the data model.
Set up workflows and completeness rules
The Workflow-tab is used to set up productivity-related features such as workflows and completion rules:
You can:
- Select a workflow which products related to this model should have access to
- Select any number of completion rules associated with this data model
Any completion rules and completeness languages selected can be inherited by by dynamic workspaces based on this data model, and any completenss languages you select will be merged with languages selected on a query.
If you want to quickly generate a synthetic completion rule which covers every product attribute on the data model (inherited or not) check the Completeness on all Datamodel attributes checkbox and job's done.
The auto-assign rules for products-section is used in conjunction with the auto-assign products to group-feature.
Working with data models
As soon as you have a data model defined, you can assign products to it - which makes the product inherit all product attributes associated with the model. This can be done from lots of places - e.g. via the context menu from any product list, or using the data models widget in a product details view - and we won't cover them all here.
In production, you can see a list of all products attached to a model on the assigned products tab on the data model:

Click on any of these to open the product details view, or use the context menu for the list and press Manage to work with the list of products. You can, of course, also use the Details and Relations tabs to view and set default values for the products associated with the model.
You can also attach products to the data model directly from here, use Attach products at the top of the context menu on the assigned products tab, or, from the manage screen, use Attach in the action menu - shown just above Detach. Both open the same Attach products panel, and the list refreshes automatically once you save your selection.
Data Sets
A data set is a preconfigured, reusable instance of a data model - a sort of template filled with actual data. In the example shown here, the data model - Brands - has 8 data sets for the different brands in the example shop.
Each of these data sets contain actual preconfigured values for the data model:
Later on, when you relate a product to a data model, you can also select a specific data set - the product then inherits the values on the data set directly, saving valuable time for ecommerce editors.
Data sets are incredibly useful if you have a components-based product catalog with a fixed set of components (engines, computer parts, etc.) which are then used to construct products.
To create a data set:
- Open the data model and switch to the data sets tab
- Press Manage and the New data set
- Add a Name
- Save
Reopen the data model and fill add values to the data model properties - then save again. You can now select this data set when managing products.