Skip to content

Commit 68719d2

Browse files
committed
Merge remote-tracking branch 'origin/main' into matp-3011780
2 parents 458d73e + ac6d8d0 commit 68719d2

File tree

121 files changed

+2483
-609
lines changed

Some content is hidden

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

121 files changed

+2483
-609
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/removeOnPostSave.md",
5+
"redirect_url": "../../formContext-data-entity/removeOnPostSave",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/addOnPostSave.md",
10+
"redirect_url": "../../formContext-data-entity/addOnPostSave",
11+
"redirect_document_id": false
12+
},
313
{
414
"source_path": "powerapps-docs/developer/data-platform/org-service/metadata-retrieve-detect-changes.md",
515
"redirect_url": "../query-schema-definitions",
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Requirements for cards
3+
description: Learn about the requirements for using Cards for Power Apps.
4+
ms.date: 11/17/2022
5+
ms.topic: overview
6+
author: sericks007
7+
ms.author: sericks
8+
manager: tapanm-msft
9+
ms.reviewer:
10+
ms.custom:
11+
ms.collection:
12+
13+
---
14+
15+
# Requirements for cards
16+
17+
[!INCLUDE[cards_preview_notice](includes/preview-include.md)]
18+
19+
This article contains information on requirements for cards to show up and work as expected.
20+
21+
## Environment requirements
22+
23+
Cards are available in environments with Dataverse.
24+
25+
The table below shows the environment regions cards are supported in.
26+
27+
| Environment region | Supported in region |
28+
|--------------|:---:|
29+
| United States | Yes |
30+
| Europe | Yes |
31+
| Asia | Yes |
32+
| Brazil | Yes |
33+
| Australia | Yes |
34+
| Japan | Yes |
35+
| India | Yes |
36+
| Canada | Yes |
37+
| United Kingdom | Yes |
38+
| Germany | No |
39+
| Switzerland | No |
40+
| United Arab Emirates | No |
41+
| South Africa | No |
42+
| Korea | No |
43+
| Norway | No |
44+
| Sovereign-cloud regions | No |
45+
46+
## Supported platforms for authoring cards
47+
48+
Cards has the same [system requirements as Power Apps](../limits-and-config.md) for authoring cards.
49+
50+
## Supported platforms for sending cards
51+
52+
Cards can be sent to [Microsoft Teams](/send-a-card/send-card-in-teams.md) in desktop, mobile, or web clients.

powerapps-docs/cards/make-a-card/designer-overview.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
title: Card designer overview (preview)
33
description: Learn about the card designer.
4-
ms.date: 09/20/2022
4+
ms.date: 11/17/2022
55
ms.topic: overview
6-
author: iaanw
7-
ms.author: iawilt
8-
manager: shellyha
6+
author: sericks007
7+
ms.author: sericks
8+
manager: tapanm-MSFT
99
ms.reviewer:
1010
ms.custom:
1111
ms.collection:
12+
1213
---
1314

1415
# Card designer overview (preview)
@@ -83,7 +84,7 @@ You can also enter Power Fx expressions in some properties, creating low-code so
8384
Use the formula bar to enter a Power Fx expression as a property of the selected control; for example, to calculate a value when a button is clicked. The formula bar even assists you as you're writing an expression. [Learn more about Power FX](../make-a-card/power-fx/intro-to-pfx.md) and the [functions and formulas you can use in an expression](/powerapps/maker/canvas-apps/formula-reference).
8485

8586
> [!NOTE]
86-
> Some expressions that are supported in Power Apps aren't available for cards. [See details](/make-a-card/power-fx/intro-to-pfx.md).
87+
> Some expressions that are supported in Power Apps aren't available for cards. For more information, see [Power Fx and cards overview](../make-a-card/power-fx/intro-to-pfx.md).
8788
8889
### Play button
8990

powerapps-docs/cards/make-a-card/power-fx/intro-to-pfx.md

Lines changed: 64 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
title: Power Fx and cards overview (preview)
33
description: Learn about Power FX and how it's used to add business logic in cards for Microsoft Power Apps.
4-
ms.date: 09/20/2022
4+
ms.date: 11/17/2022
55
ms.topic: overview
6-
author: iaanw
7-
ms.author: iawilt
8-
manager: shellyha
6+
author: sericks007
7+
ms.author: sericks
8+
manager: tapanm-MSFT
99
ms.reviewer:
1010
ms.custom:
1111
ms.collection:
12+
1213
---
1314

1415
# Power Fx and cards overview (preview)
@@ -28,11 +29,63 @@ The [Power Fx documentation](/power-platform/power-fx/overview) is the main sour
2829

2930
## Known limitations of using Power Fx in cards
3031

31-
The following Power Fx formulas don't work in cards or work with limitations:
32+
The following table lists the Power Fx formulas that don't work in cards, or have limitations. All other functions are fully supported.
3233

33-
- Device sensor formulas (**Acceleration**, **App**, **Compass**, **Connection**, and **Location**) don't work.
34-
- **SaveData**, **LoadData**, and **ClearData** don't work.
35-
- Form-related formulas (**EditForm**, **NewForm**, **SubmitForm**, **ResetForm**, and **ViewForm**) don't work.
36-
- **Update** and **UpdateIf** don't work.
37-
- **Collect**, **Patch**, and **Remove** work with variables and Dataverse tables only.
38-
- **Set** requires the variable to exist and the variable type to match what you're trying to set it to.
34+
| Power Fx formula | Supported in cards |
35+
|---------|:---:|
36+
| [Set](/power-platform/power-fx/reference/function-set) | Yes<br><br>Requires the variable to exist and the variable type to match what you're trying to set it to.|
37+
| [Collect](/power-platform/power-fx/reference/function-clear-collect-clearcollect#collect) | Yes<br><br>Requires the variable to exist and the variable type to match what you're trying to set it to. |
38+
| [Defaults](/power-platform/power-fx/reference/function-defaults) | No <br><br> Use [Collect](/power-platform/power-fx/reference/function-clear-collect-clearcollect#collect) instead, for example, instead of `Patch(account, Defaults(account), {"Account Name": "Example Account"})` use `Collect(account, {"Account Name": "Example Account"})`. |
39+
| [User()](/power-platform/power-fx/reference/function-user) | No <br><br>Instead use **Viewer**, which has a subset of information about the user viewing the card. |
40+
| [Clear](/power-platform/power-fx/reference/function-clear-collect-clearcollect#clear) | No |
41+
| [ClearCollect](/power-platform/power-fx/reference/function-clear-collect-clearcollect#clearcollect) | No |
42+
| [Update](/power-platform/power-fx/reference/function-update-updateif#update-function) | No |
43+
| [UpdateIf](/power-platform/power-fx/reference/function-update-updateif#updateif-function) | No |
44+
| Device sensor formulas ([Acceleration, App, Compass, Connection, and Location](/power-platform/power-fx/reference/signals)) | No |
45+
| [SaveData, LoadData, and ClearData](/power-platform/power-fx/reference/function-savedata-loaddata) | No |
46+
| Form-related formulas ([EditForm, NewForm, SubmitForm, ResetForm, and ViewForm](/power-platform/power-fx/reference/function-form)) | No |
47+
| AddColumns | No |
48+
| Concurrent | No |
49+
| DropColumns | No |
50+
| EncodeUrl | No |
51+
| IsEmpty | No |
52+
| IsMatch | No |
53+
| IsType | No |
54+
| JSON | No |
55+
| Match | No |
56+
| PlainText | No |
57+
| RemoveIf | No |
58+
| SortByColumns | No |
59+
| Update | No |
60+
| UpdateIf | No |
61+
| AsType | No |
62+
| Distinct | No |
63+
| exactin | No |
64+
| GroupBy | No |
65+
| in | No |
66+
| RenameColumns | No |
67+
| Search | No |
68+
| ShowColumns | No |
69+
| UTCNow | No |
70+
| UTCToday | No |
71+
| Validate | No |
72+
| Weekday | No |
73+
| As | No |
74+
| Calendar | No |
75+
| Choices | No |
76+
| Clock | No |
77+
| ColorFade | No |
78+
| ColorValue | No |
79+
| Errors | No |
80+
| HashTags | No |
81+
| ISOWeekNum | No |
82+
| Language | No |
83+
| MatchAll | No |
84+
| Refresh | No |
85+
| RGBA | No |
86+
| WeekNum | No |
87+
| Notify | No |
88+
| Select | No |
89+
| SetProperty | No |
90+
| Download | No |
91+
| SetFocus | No |

powerapps-docs/cards/make-a-card/variables/variables.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
title: Add variables to a card (preview)
33
description: Learn how to add variables to your cards for Microsoft Power Apps.
4-
ms.date: 09/20/2022
4+
ms.date: 11/17/2022
55
ms.topic: how-to
6-
author: iaanw
7-
ms.author: iawilt
8-
manager: shellyha
6+
author: sericks007
7+
ms.author: sericks
8+
manager: tapanm-MSFT
99
ms.reviewer:
1010
ms.custom:
1111
ms.collection:
12+
1213
---
1314

1415
# Add variables to a card (preview)
@@ -46,6 +47,23 @@ As an example, you've created a card that counts how many times the user presses
4647

4748
1. Select **Save**.
4849

50+
### Using the default value for tables and records
51+
52+
The default value is used to set the structure for table and record variables. There are two ways to set the default value of a record or table variable:
53+
54+
- Using a Power Fx expression
55+
- Using JSON
56+
57+
You can toggle between whether you are using Power Fx or JSON using the icon on the right.
58+
59+
:::image type="content" source="../../media/variables/default-value.png" alt-text="Screenshot of the how to toggle between JSON and Power Fx for setting the variable default value.":::
60+
61+
Using a Power Fx expression is helpful when you want the variable to store data from a data source, like Dataverse. For example, if you wanted a record that held a specific row from the **Account** table, you could set the default value to `First(account)`.
62+
63+
Using JSON is helpful when you are using the variable to store custom data. For example, if you wanted to collect a list of people's names, you could set the default value to `[{"First Name": "John", "Last Name": "Doe"}]`.
64+
65+
Variables are strongly typed and so setting the default value locks the variable into those types.
66+
4967
### Edit and delete variables
5068

5169
To edit or delete a variable, select the ellipsis (**...**) to the right of the variable, and then select **Edit** or **Delete**.
@@ -54,8 +72,12 @@ To edit or delete a variable, select the ellipsis (**...**) to the right of the
5472

5573
## Use variables in cards
5674

57-
There are various ways to use variables in cards. [Learn about working with variables in Power Apps](/powerapps-docs/maker/canvas-apps/working-with-variables.md).
75+
There are various ways to use variables in cards. [Learn about working with variables in Power Apps](../../../maker/canvas-apps/working-with-variables.md).
5876

5977
A common use for variables is in Power Fx expressions. Refer to the variable by name in your formula. For an example, go to the [simple card tutorial](../../tutorials/hello-world-card.md). Your variables are recognized in the formula bar as well.
6078

6179
:::image type="content" source="../../media/variables/formula-bar-example.png" alt-text="Screenshot of an automatically filled variable name in the card designer formula bar.":::
80+
81+
### Updating the value of a variable
82+
83+
Variables can be updated using the [**Set**](/power-platform/power-fx/reference/function-set) function, excluding table variables which are added to using the [**Collect**](/power-platform/power-fx/reference/function-clear-collect-clearcollect) function.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
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
5+
ms.topic: overview
6+
author: sericks007
7+
ms.author: sericks
8+
manager: tapanm-MSFT
9+
ms.reviewer:
10+
ms.custom:
11+
ms.collection:
12+
13+
---
14+
15+
# Manage cards
16+
17+
[!INCLUDE[cards_preview_notice](../includes/preview-include.md)]
18+
19+
This article will help you use security roles to manage cards and explains how to delete a record.
20+
21+
## Manage cards with security roles
22+
23+
This section shows you how to manage cards using security roles.
24+
25+
### Change who can create cards
26+
27+
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).
28+
29+
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 will not be able to create cards.
30+
31+
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.
32+
33+
### Disable cards for an environment
34+
35+
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.
36+
37+
### Cards security roles
38+
39+
- **Cards Basic Role** can be used to grant a user access to view, create, and use cards in that environment.
40+
41+
Other security roles can be modified to view, create, and use cards by changing security role access to the **Card** table in Dataverse.
42+
43+
- **Cards Role** is used internally by the Cards for Power Apps service to communicate with Dataverse.
44+
45+
## Delete a card
46+
47+
This section shows you how to delete a card.
48+
49+
### Delete a card as the owner
50+
51+
1. Sign in to Power Apps.
52+
1. Select **Cards** from the left pane.
53+
1. Select the card to be deleted.
54+
1. Select **Delete** in the command bar.
55+
56+
:::image type="content" source="../media/manage-cards/delete-a-card.PNG" alt-text="Screenshot of how to delete a card.":::
57+
58+
### Delete a card as the administrator
59+
60+
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 are working on enabling this capability.
Loading
Loading

powerapps-docs/developer/component-framework/add-custom-controls-to-a-field-or-entity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Following the steps below will change the default label and text box column of t
3131

3232
3. In the form editor, double-click the column where you want to add a code component, such as the **Budget Amount** column on the opportunity main form. You can also create a custom column.
3333

34-
4. On the **Field Properties** page, select the **Controls** tab, and then select **Add Control**.
34+
4. Select the Controls tab on the **Field Properties** page, and then select **Add Control**.
3535

3636
5. On the Add Control page, select the component that you want, such as the **Linear Slider** component, and then select **Add**.
3737

@@ -97,4 +97,4 @@ To add a code component like dataset component or simple table component to a gr
9797
[Power Apps component framework overview](overview.md)
9898

9999

100-
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
100+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
href: query-throttling.md
8585
- name: Query Hierarchical data
8686
href: query-hierarchical-data.md
87+
- name: Use file column data
88+
href: file-column-data.md
8789
- name: Audit data changes
8890
items:
8991
- name: Overview

0 commit comments

Comments
 (0)