You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/common-data-service/create-edit-virtual-entities.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,8 @@ Alternatively, developers can build their own data providers. Data providers are
53
53
54
54
Developers create a custom plug-in to use as the data provider for a virtual table. Alternatively, you can use the provided OData v4 Data Provider. More information: [OData v4 Data Provider configuration, requirements, and best practices](virtual-entity-odata-provider-requirements.md)
55
55
56
-
1. Go to **[Settings](../model-driven-apps/advanced-navigation.md#settings)** > **Administration** > **Virtual table Data Sources**.
56
+
1. Sign in to Power Apps, and then select **Settings** > **Advanced settings**.
57
+
1. Go to **[Settings](../model-driven-apps/advanced-navigation.md#settings)** > **Administration** > **Virtual Entity Data Sources**.
57
58
1. On the actions toolbar, select **New**.
58
59
1. On the **Select Data Provider** dialog box, select from the following data sources, and then select **OK**.
59
60
@@ -90,8 +91,8 @@ Part of the name of any virtual table you create is the customization prefix. Th
90
91
91
92
### Create a virtual table
92
93
93
-
1. In solution explorer, create a new table. To do this, select **Tables** in the left navigation pane, and then select **New**.
94
-
2. On the **General** tab of the **Entity Definition**, select **Virtual table**, and then in the **Data Source** drop down list, select the data source that you want.
94
+
1. In solution explorer, create a new table. To do this, select **Entities** in the left navigation pane, and then select **New**.
95
+
2. On the **General** tab of the **Entity Definition**, select **Virtual Entity**, and then in the **Data Source** drop down list, select the data source that you want.
95
96
96
97
> [!div class="mx-imgBorder"]
97
98
> 
Copy file name to clipboardExpand all lines: powerapps-docs/maker/common-data-service/data-platform-entity-lookup.md
+22-29Lines changed: 22 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -33,70 +33,63 @@ Additionally, you can set advanced cascading behaviors on many-to-one and one-to
33
33
34
34
To add a lookup relation to a table, create a relation under the **Relationships** tab and specify the table with which you want to create a relationship.
35
35
36
-
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section and click or tap **Tables**in the left navigation pane.
36
+
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section, and then select **Tables**on the left navigation pane.
37
37
38
-
2. Click or tap an existing table, or [Create a new table](data-platform-create-entity.md)
38
+
1. Select an existing table, or [Create a new table](data-platform-create-entity.md)
39
39
40
-
3. Click **Relationships**
40
+
1. Select the **Relationships** tab.
41
41
42
-
4. Click**Add relationship**, this will open a new panel for you to choose the table you want to create a relationship to. Select the table from the **Related table** drop down.
42
+
1. Select**Add relationship**, and then select a relationship type, such as **Many-to-one**.
43
43
44
-
> [!div class="mx-imgBorder"]
45
-
> 
46
-
47
-
5. After selecting a table the Look up columns will be shown on the Primary table, they will default with the table's name (in this example Classroom) but you can change them if needed.
44
+
1. On the right pane, select a **Related** table for the **Current** table, and then select **Done**.
48
45
49
-

46
+
> [!div class="mx-imgBorder"]
47
+
> 
50
48
51
-
6. Click **Done** to add the relationship to your table, and then click**Save table**.
49
+
1. Select**Save table**.
52
50
53
51
> [!div class="mx-imgBorder"]
54
-
> 
52
+
> 
55
53
56
54
## Add a One-to-many relationship
57
55
58
56
To add a One-to-many relationship, create a relation under the **Relationships** tab and specify the table with which you want to create a relationship.
59
57
60
-
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section and click or tap**Tables** in the left navigation pane.
58
+
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section and select**Tables** in the left navigation pane.
61
59
62
-
2.Click or tap an existing table, or [Create a new table](data-platform-create-entity.md)
60
+
2.Select an existing table, or [Create a new table](data-platform-create-entity.md)
63
61
64
-
3.Click **Relationships**
62
+
3.Select the **Relationships** tab.
65
63
66
-
4.Click the down arrow to the right of **Add relationship**, this will give you the choice of both types of relationships. Click **One-to-many** this will open a new panel for you to choose the table you want to create a relationship to. Select the table from the **Related table** drop down.
64
+
4.Select the down arrow to the right of **Add relationship**, and then select **One-to-many**.
67
65
> [!div class="mx-imgBorder"]
68
66
> 
69
67
70
-
5.After selecting a tablethe Look up columns will be shown on the Primary table, they will default with the tables name (in this example Class) but you can change them if needed.
68
+
5.Select a table. Notice the **Look up** columns will be shown on the **Current** table, they will default with the tables name (in this example Teacher) but you can change them if needed. Select **Done** to add the relationship to your table.
71
69
72
70
> [!NOTE]
73
-
> In the case of a One-to-many relationships, the Look up column will be created on the related table, not the table you currently have selected. If you need the lookup on the current table, please create a Many-to-one relationship.
71
+
> In the case of a One-to-many relationships, the Look up column will be created on the related table, not the table you currently have selected. If you need the lookup on the current table, create a Many-to-one relationship.
74
72
75
-
> [!div class="mx-imgBorder"]
76
-
> 
77
-
78
-
6. Click **Done** to add the relationship to your table, and then click **Save table**.
79
-
80
-
> [!div class="mx-imgBorder"]
81
-
> 
73
+
:::image type="content" source="media/data-platform-cds-newrelationship/one-to-many-example.png" alt-text="One to many example":::
74
+
6. Select **Save table**.
82
75
83
76
## Add a Many-to-many relationship
84
77
To add a Many-to-many relationship, create a relation under the **Relationships** tab and specify the table with which you want to create a relationship.
85
78
86
-
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section and click or tap**Tables** in the left navigation pane.
79
+
1. On [powerapps.com](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), expand the **Data** section and select**Tables** in the left navigation pane.
87
80
88
-
2.Click or tap an existing table, or [Create a new table](data-platform-create-entity.md)
81
+
2.Select an existing table, or [Create a new table](data-platform-create-entity.md)
89
82
90
-
3.Click **Relationships**
83
+
3.Select the **Relationships** tab.
91
84
92
-
4.Click the down arrow to the right of **Add relationship**, this will give you the choice of both types of relationships. Click **Many-to-many** this will open a new panel for you to choose the table you want to create a relationship to. Select the table from the **Related table** drop down.
85
+
4.Select **Add relationship** and then select **Many-to-many**. This opens a panel for you to choose the table you want to create a relationship to. Select the table from the **Related table** drop down.
93
86
94
87
5. After selecting a table, the names for the relationship and relationship table will appear. They will default with the names of the tables combined, but you can change them if needed.
95
88
96
89
> [!div class="mx-imgBorder"]
97
90
> 
98
91
99
-
6.Click**Done** to add the relationship to your table, and then click **Save table**.
92
+
6.Select**Done** to add the relationship to your table, and then click **Save table**.
0 commit comments