Lad os komme i gang
Indtast din arbejds- eller skolekonto for at komme i gang.
The Common Data Service is designed for all our business customers, from the smallest shops to the largest enterprises. The common data model includes a set of standard entities that address many common business scenarios, and you saw in the previous topic that you can extend those standard entities if necessary. But sometimes you need something completely different to solve problems specific to your business. In that case you need a custom entity, and we'll show you how to build one in this topic.
There are two ways to create an entity:
For this example, we'll create a custom entity called Product review, from scratch. To start, on the Entities tab click New Entity. Enter an Entity name (no spaces or special characters), a friendly Display name, and a meaningful Description. Then click Next.
On the next screen, you see the five default fields that all standard and custom entities contain. Click Add field to start adding your own.
For this example, let's add four fields:
When you're happy with the entity, click Create. When the entity is created, it doesn't have any data in it. We'll show how to import data in the next topic.
Because we want to associate each review with a particular product, we need to create a relationship between the Product review entity and the Product entity. In the Product review entity, on the Relationships tab, click New relationship. Then select a Related entity, and enter a Name, a Display name, and a Description. Click Save to create the relationship.
Connecting to a custom entity in PowerApps Studio is just like connecting to a standard entity. Click New, then under Common Data Service, click Phone layout. You see available data connections on the left and the list of entities on the right.
In the next topic, we'll show you how to manage data in the Common Data Service.