Skip to content

Commit e363cba

Browse files
committed
Merge remote-tracking branch 'origin/main' into nhelgrenupdates
2 parents 496d278 + eb27c8a commit e363cba

File tree

384 files changed

+1761
-3279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+1761
-3279
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8710,6 +8710,11 @@
87108710
"redirect_url": "/power-pages/templates/dynamics-365-apps/overview",
87118711
"redirect_document_id": false
87128712
},
8713+
{
8714+
"source_path": "powerapps-docs/maker/portals/configure/dataverse-search.md",
8715+
"redirect_url": "/power-pages/configure/search/overview",
8716+
"redirect_document_id": false
8717+
},
87138718
{
87148719
"source_path": "powerapps-docs/maker/portals/create-common-problems.md",
87158720
"redirect_url": "/power-pages/getting-started/create-manage",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Data Loss Prevention (DLP)
3+
description: This article helps you configure data loss prevention (DLP) policies for cards.
4+
ms.date: 11/17/2022
5+
ms.topic: overview
6+
author: sericks007
7+
ms.author: sericks
8+
ms.reviewer:
9+
ms.custom:
10+
ms.collection:
11+
12+
---
13+
14+
# Manage cards with DLP policies
15+
16+
The **Cards for Power Apps** connector is used to automatically send cards through Power Automate. However, there are specific rules enforced by [DLP policies](/power-platform/admin/wp-data-loss-prevention) that dictate which connectors can be used with one another.
17+
18+
Administrators can use DLP policies to determine which connectors can be used in flows that send cards. For example, if both the MSN Weather connector and Cards for Power Apps connector are classified as **Business**, then makers can send daily status cards with the weather.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Delete a card
3+
description: This article helps you delete a card.
4+
ms.date: 11/17/2022
5+
ms.topic: overview
6+
author: sericks007
7+
ms.author: sericks
8+
ms.reviewer:
9+
ms.custom:
10+
ms.collection:
11+
12+
---
13+
14+
# Delete a card
15+
16+
To delete a card, you need to be the app owner. An administrator, such as Global admin, Azure Active Directory Global admin, or Dynamics 365 admin can't delete card.
17+
18+
1. Sign in to [Power Apps](https://make.powerapps.com).
19+
1. From the [left navigation](../../maker/canvas-apps/intro-maker-portal.md#1--left-navigation-pane), select **Cards**.
20+
1. Select the card that you want to delete and on the command bar select, **Delete**.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Manage access
3+
description: This article helps you use security roles to manage cards.
4+
ms.date: 11/17/2022
5+
ms.topic: overview
6+
author: sericks007
7+
ms.author: sericks
8+
ms.reviewer:
9+
ms.custom:
10+
ms.collection:
11+
12+
---
13+
14+
# Manage access
15+
16+
This article explains how to manage cards using security roles, and also provides guidance on deleting a record.
17+
18+
## Change who can create cards
19+
20+
Cards are stored as rows in Dataverse within the **Card** table. Administrators can use [security roles to control who can create, read, and update cards](/power-platform/admin/wp-security-cds#tablerecord-ownership).
21+
22+
For example, if a user is only assigned to a security role that doesn't have permission to create rows in the **Card** table, then the user can't create cards.
23+
24+
Note, regardless of the user's security role, a user can still receive and use cards sent through Teams.
25+
26+
## Disable cards for an environment
27+
28+
The communication between Cards for Power Apps and Dataverse relies on the **Cards Role** security role. If you remove permissions for the **Cards Role** to create, read, or update the **Card** table in the environment will result in the unavailability of cards for all users in that environment.
29+
30+
31+
## Cards security roles
32+
33+
- **Cards Basic Role** can be used to grant a user access to view, create, and use cards in that environment.
34+
35+
Other security roles can be modified to view, create, and use cards by changing security role access to the **Card** table in Dataverse.
36+
37+
- **Cards Role** is used internally by the Cards for Power Apps service to communicate with Dataverse.
Lines changed: 63 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,93 @@
11
---
2-
title: Manage cards
3-
description: This article will help you use security roles to manage cards and explains how to delete a record.
4-
ms.date: 11/17/2022
2+
title: Manage and create cards in solutions
3+
description: This article helps you manage cards in solutions.
4+
ms.date: 08/08/2023
55
ms.topic: overview
6-
author: sericks007
7-
ms.author: sericks
8-
ms.reviewer:
6+
author: cotaylor
7+
ms.author: cotaylor
8+
ms.reviewer: mkaur
99
ms.custom:
1010
ms.collection:
1111

1212
---
1313

14-
# Manage cards
14+
# Manage cards in solutions
1515

16-
This article will help you use security roles to manage cards and explains how to delete a record.
16+
Create a card from within a solution if, for example, you want to deploy the card to a different environment. Solutions can contain not only cards but also customized tables, choices, and other components. You can quickly customize an environment in various ways by creating cards and other components from within a solution, exporting the solution, and then importing it into another environment. For more information, see [Solutions overview](../../maker/data-platform/solutions-overview.md).
1717

18-
## Manage cards with security roles
1918

20-
This section shows you how to manage cards using security roles.
19+
## Create a solution
2120

22-
### Change who can create cards
21+
To package cards in a solution, you need to start by creating a solution. You can skip this step if you already have a solution in which you want to link your card to. For more information, see [Create solution](../../maker/data-platform/create-solution.md).
2322

24-
Cards are stored as rows in Dataverse within the **Card** table. Administrators can use [security roles to control who can create, read, and update cards](/power-platform/admin/wp-security-cds#tablerecord-ownership).
2523

26-
For example, if the user is only assigned to a security role that does not have permission to create rows in the **Card** table, then the user won't be able to create cards.
24+
## Create a card in a solution
2725

28-
Note that a user will still be able to receive and use cards sent in Teams, regardless of the security role assigned to the user, as those cards are accessed by the Cards for Power Apps service.
26+
You can create a blank card from within a solution.
2927

30-
### Disable cards for an environment
28+
1. Sign in to [Power Apps](https://make.powerapps.com).
29+
1. If necessary, switch to the environment that contains the solution in which you want to create a card.
30+
1. In the left navigation bar, select Solutions.
3131

32-
The Cards for Power Apps service uses the security role called **Cards Role** to communicate with Dataverse. By removing permissions for the **Cards Role** in an environment to create, read, or update the **Card** table, no one will be able to use cards within that environment.
32+
:::image type="content" source="../media/manage-cards/solution-tab.PNG" alt-text="Screenshot of solution tab.":::
3333

34-
### Cards security roles
34+
1. In the list of solutions, select the solution in which you want to create a card.
35+
1. In the banner under the title bar, select New > Card.
3536

36-
- **Cards Basic Role** can be used to grant a user access to view, create, and use cards in that environment.
37+
:::image type="content" source="../media/manage-cards/solution-new-card.PNG" alt-text="Screenshot of menu to create new card.":::
3738

38-
Other security roles can be modified to view, create, and use cards by changing security role access to the **Card** table in Dataverse.
39+
1. Type the name and optionally the description of your card and select Create
3940

40-
- **Cards Role** is used internally by the Cards for Power Apps service to communicate with Dataverse.
41+
:::image type="content" source="../media/manage-cards/create-card-modal.PNG" alt-text="Screenshot of dialog to create new card.":::
4142

42-
## Manage cards with DLP policies
43+
1. Create your card, save your changes, then select Back to return to your solution.
4344

44-
The **Cards for Power Apps** connector is used to automatically send cards via Power Automate. [DLP policies](/power-platform/admin/wp-data-loss-prevention) enforce rules for which connectors can be used together with other connectors.
45+
:::image type="content" source="../media/manage-cards/card-designer.PNG" alt-text="Screenshot of card designer.":::
4546

46-
Administrators can use DLP policies to determine which connectors can be used in flows that send cards, for example if both the MSN Weather connector and the Cards for Power Apps connector are classified as **Business**, then makers can send daily status cards with the weather.
47+
1. Your new card appears in the list of components for that solution. If you save any changes to your card, they're reflected in the version that's in the solution.
48+
1. If your card has any dependencies, such as Dataverse tables, from the commands menu, select Advanced > Add required objects. You can repeat this step anytime you add more required objects to your card.
4749

48-
## Delete a card
50+
:::image type="content" source="../media/manage-cards/add-required-objects.PNG" alt-text="Screenshot of adding required objects of card.":::
4951

50-
This section shows you how to delete a card.
52+
1. All required objects of your card appear in the list of components for that solution.
5153

52-
### Delete a card as the owner
54+
> [!NOTE]
55+
> If you choose to manage the required objects of your card in separate solutions, you must ensure they're imported into your target environment prior to importing the solution containing your card.
5356
54-
1. Sign in to Power Apps.
55-
1. Select **Cards** from the left pane.
56-
1. Select the card to be deleted.
57-
1. Select **Delete** in the command bar.
5857

59-
:::image type="content" source="../media/manage-cards/delete-a-card.PNG" alt-text="Screenshot of how to delete a card.":::
58+
## Add an existing card to a solution
6059

61-
### Delete a card as the administrator
60+
1. Sign in to [Power Apps](https://make.powerapps.com).
61+
1. If necessary, switch to the environment that contains the solution in which you want to create a card.
62+
1. In the left navigation bar, select Solutions.
6263

63-
If the owner of an app is unavailable, it is currently not possible for an administrator, such as Global admin, Azure Active Directory Global admin, or Dynamics 365 admin to delete a card. We're working on enabling this capability.
64+
:::image type="content" source="../media/manage-cards/solution-tab.PNG" alt-text="Screenshot of solution tab.":::
65+
66+
1. In the list of solutions, select the solution in which you want to add a card to.
67+
1. In the banner under the title bar, select Add existing > Card
68+
69+
:::image type="content" source="../media/manage-cards/add-existing-card.PNG" alt-text="Screenshot of menu to add existing card.":::
70+
71+
1. Select the card you want to add to your solution and select Add
72+
73+
:::image type="content" source="../media/manage-cards/select-existing-card.PNG" alt-text="Screenshot of selecting existing card to add.":::
74+
75+
1. Your existing card appears in the list of components for that solution along with any required tables of that card. If you save any changes to your card, they're reflected in the version that's in the solution. If you add more required tables, follow the steps in "Create a card in a solution" to add the new required objects of your card to your solution.
76+
77+
## Add a Power Automate flow with the Cards for Power Apps connector to a solution
78+
79+
A common way to send cards is by using a Power Automate flow. For more information, see [Send a card automatically with a flow](../send-a-card/send-card-with-flow.md).
80+
81+
When creating a flow to send cards in a solution, it's important that in addition to the flow, you also include the cards and any tables the card requires in the solution as well. To add any cards and tables, start by creating your flow in a solution and adding actions from the Cards for Power Apps connector. Then, follow the instructions above for adding an existing card to add all the cards used in the flow. Any required tables will be automatically added.
82+
83+
## Known Limitations
84+
85+
### Dependencies for cards aren't displayed correctly in solution explorer
86+
87+
When importing a solution containing a card that depends on tables not present in the same solution, the import fails if those tables aren't already present in the target environment. Similarly, removing a solution containing tables that a card depends on fails. The dependency viewer in these scenarios is not helpful at identifying which tables or cards is causing the operation to fail.
88+
89+
Instead, to identify which cards depend on which tables when resolving dependency issues, start by opening the card designer. Next, navigate to Cards from the sidebar, select the card you're interested in, and select Edit. Once the card designer opens, select Data from the sidebar to view the tables that card depends on.
90+
91+
### Card dependencies for flows aren't represented in solution explorer
92+
93+
When importing a solution containing a flow that depends on cards not present in the same solution, dependencies on cards will not be enforced. The solution maker must ensure that cards used in the flow are also present in the solution or the target environment to ensure the flow works correctly in the target environment.
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)