Skip to content

Commit 6179b3f

Browse files
authored
Live publish
2 parents 2f9825d + e418fff commit 6179b3f

File tree

11 files changed

+242
-33
lines changed

11 files changed

+242
-33
lines changed
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/maker/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2914,6 +2914,8 @@
29142914
items:
29152915
- name: What are cards?
29162916
href: ../cards/overview.md
2917+
- name: Requirements for cards
2918+
href: ../cards/card-requirements.md
29172919
- name: Design cards
29182920
items:
29192921
- name: Card Designer overview
@@ -2936,6 +2938,8 @@
29362938
href: ../cards/make-a-card/testing/debugging-cards.md
29372939
- name: Send a card in Teams
29382940
href: ../cards/send-a-card/send-card-in-teams.md
2941+
- name: Manage cards
2942+
href: ../cards/manage-cards/manage-cards.md
29392943
- name: Tutorials
29402944
items:
29412945
- name: Create a simple card

powerapps-docs/maker/common/wrap/faq.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sections:
2121
- question: |
2222
Can single tenant customers use wrap with Power Apps?
2323
answer: |
24-
Yes. Both single tenant and multitenant customers can use wrap. However, it is important to assign a correct account type for your app on Azure portal during new app registration. See [App registraion](how-to.md#app-registration) for directions on how to select a correct account type to prepare your app for wrap.
24+
Yes. Both single tenant and multitenant customers can use wrap. However, it is important to assign a correct account type for your app on Azure portal during new app registration. See [App registration](how-to.md#app-registration) for directions on how to select a correct account type to prepare your app for wrap.
2525
2626
- question: |
2727
Does the wrap feature in Power Apps support Customer Managed Keys (CMK) or Lockbox capabilities?
@@ -46,18 +46,28 @@ sections:
4646
- question: |
4747
How do I distribute my mobile app?
4848
answer: |
49-
It depends on your business scenario. You can use [Microsoft Intune](/mem/intune/fundamentals/what-is-intune), [Managed Google Play](https://support.google.com/googleplay/work/answer/6138458) or [Apple Business Manager](https://developer.apple.com/custom-apps/).
49+
It depends on your business scenario. You can use [Microsoft Intune](/mem/intune/fundamentals/what-is-intune), [Microsoft App Center](https://visualstudio.microsoft.com/app-center/), [Google Play](https://support.google.com/googleplay/work/answer/6138458) or [Apple Business Manager](https://developer.apple.com/custom-apps/).
5050
5151
- question: |
52-
Do I need to rewrap my mobile app frequently?
52+
Do I need to rewrap and redistribute my mobile app frequently?
5353
answer: |
5454
Power Apps Mobile is [updated periodically](/power-platform/released-versions/powerapps#all-power-apps-studio-and-power-apps-mobile-versions). Hence, to ensure compatibility with the latest Power Apps release versions, benefit from bug-fixes and new platform features, we recommend that you rewrap and redistribute your mobile app to your end users at least on a monthly basis.
5555
5656
- question: |
57-
Do I need to rewrap my mobile app after making changes to the canvas app(s) included in the package?
57+
Do I need to rewrap and redistribute my mobile app after making changes to the canvas app(s) included in the package?
5858
answer: |
59-
No. Published changes to the included canvas app(s) are downloaded automatically by existing, released versions of your mobile app. However, we recommend that you rewrap and redistribute your mobile app on a [monthly basis](faq.yml#do-i-need-to-rewrap-my-mobile-app-frequently-) to benefit from platform bug fixes, updates and new features.
60-
59+
No. Published changes to the included canvas app(s) are downloaded automatically by existing, released versions of your mobile app. However, we recommend that you rewrap and redistribute your mobile app on a [monthly basis](faq.yml#do-i-need-to-rewrap-and-redistribute-my-mobile-app-frequently-) to benefit from platform bug fixes, updates and new features.
60+
61+
- question: |
62+
How do I update the icons and colors in my mobile app?
63+
answer: |
64+
You can update icons and colors in your mobile app by rewraping your apps with new icons and colors and redistributing the updated mobile app pacakge.
65+
66+
- question: |
67+
How do I add or remove canvas apps in my wrapped mobile app?
68+
answer: |
69+
You can add or remove canvas apps by rewraping your mobile app package with a new set of included apps and redistributing your mobile package.
70+
6171
- question: |
6272
What are Primary and Secondary apps in the context of wrap?
6373
answer: |

powerapps-docs/maker/common/wrap/how-to.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ Create a new registration for your app in the organizational directory using the
3939
> [!NOTE]
4040
> Both single tenant and multitenant customers can use wrap to create native mobile apps based on their Power Apps canvas apps.
4141
42-
When creating a new app registration, ensure to use the supported account type that includes accounts in an organizational directory. Whether you are a single or multitenant maker, select any of the options containing **Any Azure AD directory - Multitenant** when choosing the supported account type for your app to enable it for wrap:
42+
Whether you are a single or multitenant maker, you must select any of the options containing **Any Azure AD directory - Multitenant** when choosing the supported account type for your app to enable it for wrap. Choose one of the following account types:
43+
- Accounts in any organzational directory (Any Azure AD directory - Multitenant)
44+
- Accounts in any orgnizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
4345

4446
:::image type="content" source="media/wrap-intro/AppResgistration_AccountTypes.png" alt-text="App registration - supported account types for wrap.":::
4547

0 commit comments

Comments
 (0)