Skip to content

Commit d926489

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/powerapps-docs-pr into mg-timeline-maker
2 parents 0069eda + e418fff commit d926489

File tree

1,050 files changed

+11303
-3819
lines changed

Some content is hidden

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

1,050 files changed

+11303
-3819
lines changed

.openpublishing.redirection.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
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+
},
13+
{
14+
"source_path": "powerapps-docs/developer/data-platform/org-service/metadata-retrieve-detect-changes.md",
15+
"redirect_url": "../query-schema-definitions",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/getoutput.md",
20+
"redirect_url": "getoutputs",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "powerapps-docs/cards/glossary.md",
25+
"redirect_url": "overview",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "powerapps-docs/developer/data-platform/webapi/aad-group-team.md",
30+
"redirect_url": "../aad-group-team",
31+
"redirect_document_id": false
32+
},
333
{
434
"source_path": "powerapps-docs/developer/data-platform/walkthrough-registering-configuring-simplespa-application-adal-js.md",
535
"redirect_url": "quick-start-register-configure-simplespa-application-msal-js",
636
"redirect_document_id": false
7-
},
37+
},
838
{
939
"source_path": "powerapps-docs/maker/data-platform/azure-synapse-link-copy-sql.md",
1040
"redirect_url": "azure-synapse-link-pipelines",

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Microsoft Power Apps Documentation
22

3-
This is the GitHub repository for the technical product documentation for **Power Apps**. This documentation is published at [Microsoft Power Apps documentation](https://docs.microsoft.com/powerapps).
3+
This is the GitHub repository for the technical product documentation for **Power Apps**. This documentation is published at [Microsoft Power Apps documentation](https://learn.microsoft.com/powerapps).
44

55
## How to contribute
66

7-
Thanks for your interest in [contributing](https://docs.microsoft.com/), home of technical content for Microsoft products and services.
7+
Thanks for your interest in [contributing](https://learn.microsoft.com/), home of technical content for Microsoft products and services.
88

9-
To learn how to make contributions to the content in this repository, start with our [Docs contributor guide](https://docs.microsoft.com/contribute). If you are a Microsoft employee, please visit the [internal version](https://aka.ms/contributors-guide) of this guide (only accessible to Microsoft employees).
9+
To learn how to make contributions to the content in this repository, start with our [Docs contributor guide](https://learn.microsoft.com/contribute). If you are a Microsoft employee, please visit the [internal version](https://aka.ms/contributors-guide) of this guide (only accessible to Microsoft employees).
1010

1111
## Code of conduct
1212

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.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[This article is pre-release documentation and is subject to change.]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Add connectors to a card (preview)
3+
description: Learn how to add connectors to your cards for Microsoft Power Apps.
4+
ms.date: 09/20/2022
5+
ms.topic: how-to
6+
author: iaanw
7+
ms.author: iawilt
8+
manager: shellyha
9+
ms.reviewer:
10+
ms.custom:
11+
ms.collection:
12+
---
13+
14+
# Add connectors to a card (preview)
15+
16+
[!INCLUDE[cards_preview_notice](../../includes/preview-include.md)]
17+
18+
Connectors allow your card to connect to other apps, data sources, and devices in the cloud. Insert, modify, and remove them in the [card designer](../designer-overview.md). [Learn more about connectors in Power Platform](/connectors/connectors).
19+
20+
## Prerequisites
21+
22+
- A [Power Apps](https://powerapps.microsoft.com/) account
23+
- [A card](../../tutorials/hello-world-card.md)
24+
25+
## Insert a connector
26+
27+
1. Sign in to [Power Apps](https://powerapps.microsoft.com/). Select **Cards (preview)** > **Cards**, and then select a card.
28+
1. In the left pane of the card designer, select **Data**.
29+
1. Select **+ Add data**, and then select a data source from the list.
30+
31+
:::image type="content" source="../../media/connector-intro/add-data-___location.png" alt-text="Screenshot of a list of data sources in the card designer.":::
32+
33+
## Types of connectors
34+
35+
Only connections to Dataverse are currently available. Other connectors are shown in the data source list, but functionality for them will be added in future updates.
36+
37+
You can connect to Dataverse tables to create, read, update, and delete records. [Learn how to create a card with data from Dataverse](../../tutorials/dataverse-card.md).
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: Card designer overview (preview)
3+
description: Learn about the card designer.
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+
# Card designer overview (preview)
16+
17+
[!INCLUDE[cards_preview_notice](../includes/preview-include.md)]
18+
19+
The Power Apps card designer is the drag-and-drop interface in which you build cards.
20+
21+
1. Sign in to [Power Apps](https://make.powerapps.com) and select your environment.
22+
23+
1. In the left pane, select **Cards (preview)**.
24+
25+
1. To open the card designer, select **Create**, and then select **+ Create a card**.
26+
27+
:::image type="content" source="../media/designer-overview/create-new-card.png" alt-text="Screenshot showing card creation screen.":::
28+
29+
## The card designer interface
30+
31+
:::image type="content" source="../media/designer-overview/designer-elements.png" alt-text="Screenshot of the Power Apps card designer with elements highlighted.":::
32+
33+
Legend:
34+
35+
1. Main menu
36+
1. Tool pane
37+
1. Card canvas
38+
1. Card
39+
1. Property pane
40+
1. Formula bar
41+
1. Play button
42+
43+
### Main menu
44+
45+
Use the main menu to switch between the tools available in the card designer:
46+
47+
- **Tree View**: View card elements as a hierarchy and view the relationships between elements
48+
- **Insert**: Add controls
49+
- **Data**: Add connectors to incorporate data from external sources
50+
- **Variables**: Store and reuse data
51+
52+
### Tool pane
53+
54+
Use the tool pane to add and view card elements like controls, connectors, and variables to your card.
55+
56+
### Card canvas and card
57+
58+
The card canvas is where you build your card by adding connectors, variables, and controls from the tool pane.
59+
60+
> [!NOTE]
61+
> You can't resize a card in the card canvas. Cards automatically fit themselves to the ___location they're placed in.
62+
63+
### Property pane
64+
65+
Use the property pane to modify an element by editing its properties. Each element, and the card itself, has its own property pane. For most of the drag-and-drop elements, you can specify basic properties:
66+
67+
- **Name**: The name of the element, either the default name or a name you provide. You can refer to an element by name in a Power Fx formula.
68+
- **Label** or **Text**: Text that's shown on the card
69+
- **Default value**: The initial value of an element
70+
- **Initially visible**: Whether the element is visible when the card is opened
71+
72+
Certain elements have visual properties that you can modify. For text labels and input controls, for example, you can customize the font, color, spacing, and more.
73+
74+
Each element also has advanced properties, such as:
75+
76+
- **Repeat for every**: Trigger whether or when an element should be repeated
77+
- **Show when**: Trigger when to show the element
78+
- **Requires**: Make the element dependent on certain features, with a corresponding minimum version
79+
80+
You can also enter Power Fx expressions in some properties, creating low-code solutions that make your card more powerful.
81+
82+
### Formula bar and Power Fx editor
83+
84+
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).
85+
86+
> [!NOTE]
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).
88+
89+
### Play button
90+
91+
Use the **Play** button to preview, test, and, if needed, [troubleshoot and debug your card](../make-a-card/testing/debugging-cards.md).
92+
93+
## Next steps
94+
95+
[Make your first card](../tutorials/hello-world-card.md).
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: Power Fx and cards overview (preview)
3+
description: Learn about Power FX and how it's used to add business logic in cards for Microsoft 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+
# Power Fx and cards overview (preview)
16+
17+
[!INCLUDE[cards_preview_notice](../../includes/preview-include.md)]
18+
19+
[Power Fx](/power-platform/power-fx/overview) is a low-code programming language available across the Power Platform, including in Power Apps cards. Cards can calculate values, perform tasks, and respond to user input using formulas expressed in Power Fx. Power Fx expressions can also update variables and data sources. Expressions can be combined to create complex formulas that can handle advanced business logic.
20+
21+
## Power Fx documentation
22+
23+
The [Power Fx documentation](/power-platform/power-fx/overview) is the main source of information about Power Fx. When you're working with cards, you'll find the following articles especially helpful:
24+
25+
- [Expression grammar](/power-platform/power-fx/expression-grammar)
26+
- [Operators](/power-platform/power-fx/operators)
27+
- [Variables](/power-platform/power-fx/variables)
28+
- [Formula reference](/power-platform/power-fx/formula-reference)
29+
30+
## Known limitations of using Power Fx in cards
31+
32+
The following table lists the Power Fx formulas that don't work in cards, or have limitations. All other functions are fully supported.
33+
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 |
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Add screens to a card (preview)
3+
description: Learn how to add screens to your cards for Microsoft Power Apps.
4+
ms.date: 09/20/2022
5+
ms.topic: how-to
6+
author: iaanw
7+
ms.author: iawilt
8+
manager: shellyha
9+
ms.reviewer:
10+
ms.custom:
11+
ms.collection:
12+
---
13+
14+
# Add screens to a card (preview)
15+
16+
[!INCLUDE[cards_preview_notice](../../includes/preview-include.md)]
17+
18+
Cards can have multiple screens, each presenting a different interface for a specific scenario or purpose. For example, a polling card might have a screen to collect user responses and a screen to show the current aggregated poll results. Use buttons to let users switch between screens or use Power Fx formulas for more complex scenarios. Insert, modify, and remove them in the [card designer](../designer-overview.md).
19+
20+
## Prerequisites
21+
22+
- A [Power Apps](https://powerapps.microsoft.com/) account
23+
- [A card](../../tutorials/hello-world-card.md)
24+
25+
## Tree view
26+
27+
View the screens in your card and the controls you've added to them using the card designer tree view.
28+
29+
:::image type="content" source="../../media/make-a-card/cards-tree-view.png" alt-text="Screenshot of the tree view in the card designer, showing a card named HelloWorldCard with two screens.":::
30+
31+
## Create a screen
32+
33+
1. Sign in to [Power Apps](https://powerapps.microsoft.com/). Select **Cards (preview)** > **Cards**, and then select a card.
34+
1. In the left pane of the card designer, select **Tree View**.
35+
1. Select **+ New screen**.
36+
1. Enter a name for your screen and select **Create**. Spaces and special characters aren't allowed in screen names.
37+
1. Add controls, data, and variables to the screen as needed.
38+
39+
## Use a Show Screen button to open a screen
40+
41+
1. In the left pane of the card designer, select **Insert**.
42+
1. Select **Input** to expand the category, and then select **Button** to add a button to your card.
43+
1. In the button properties pane, set **Type** to **Show Screen**.
44+
1. Set **Screen** to the screen you want the button to show, and then set **Title** to the label to display on the button.
45+
46+
This will show a screen directly underneath the existing screen with both being interactive.
47+
48+
:::image type="content" source="../../media/make-a-card/show-card-properties.png" alt-text="Screenshot of a Show Screen button properties pane in the card designer.":::
49+
50+
## Use a Power Fx expression to open a screen
51+
52+
The Power Fx [Back](/power-platform/power-fx/reference/function-navigate#back) and [Navigate](/power-platform/power-fx/reference/function-navigate#navigate) functions switch between screens.
53+
54+
The Show Screen button opens a screen underneath the existing screen, keeping both screens visible, while the Power Fx Back and Navigate functions change the screen that is visible to the user. The Back and Navigate functions can also be used outside of buttons and are appropriate for more complex screen-switching scenarios.
55+
56+
For more information about Back and Navigate, see the [Power Fx reference documentation syntax](/power-platform/power-fx/reference/function-navigate#syntax), [examples](/power-platform/power-fx/reference/function-navigate#examples), and [step-by-step instructions](/power-platform/power-fx/reference/function-navigate#step-by-step).

0 commit comments

Comments
 (0)