Skip to content

Commit 5dad641

Browse files
committed
Merge branch 'main' into 2520183
2 parents fef3b6b + b524ef9 commit 5dad641

File tree

659 files changed

+9200
-4508
lines changed

Some content is hidden

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

659 files changed

+9200
-4508
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/maker/model-driven-apps/optimize-form-performance.md",
5+
"redirect_url": "design-performant-forms",
6+
"redirect_document_id": "false"
7+
},
38
{
49
"source_path": "powerapps-docs/maker/model-driven-apps/page-data-connectors.md",
510
"redirect_url": "../canvas-apps/connections-list",

powerapps-docs/developer/component-framework/component-framework-for-canvas-apps.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ After you enable the Power Apps component framework feature in your environment,
7272
> [!div class="mx-imgBorder"]
7373
> ![Insert components.](media/insert-code-components-using-get-more-components.png "Insert components")
7474
75-
4. Select the **Code** tab, select a component from the list, and then select **Import**.<!--note from editor: Here and in step 5, I deleted "sample" because maybe the reader is adding a component they truly want, not necessarily a sample.-->
75+
4. Select the **Code** tab, select a component from the list, and then select **Import**.
7676

7777
> [!div class="mx-imgBorder"]
7878
> ![Import a component.](media/insert-component-add-sample-component.png "Import a component")
@@ -83,9 +83,9 @@ After you enable the Power Apps component framework feature in your environment,
8383
> ![Add a component.](media/add-sample-component-from-list.png "Add a component")
8484
8585
> [!NOTE]
86-
> You can also add components by selecting **Insert** > **Custom** > **Import component**. This option will be removed in a future release, so we suggest using the flow described above.<!--note from editor: Recommend deleting this unless there's a mechanism in place to revisit this topic in tandem with the future release. This is especially not a good candidate for note format, since it draws extra attention to this step that won't work before long.-->
86+
> You can also add components by selecting **Insert** > **Custom** > **Import component**. This option will be removed in a future release, so we suggest using the flow described above.
87+
>
8788
88-
<!--note from editor: The following isn't really a step, so I removed the numbering and indent. -->
8989
On the **Properties** tab, you'll notice the code component properties are displayed.
9090

9191
> [!div class="mx-imgBorder"]
@@ -107,10 +107,10 @@ On the **Properties** tab, you'll notice the code component properties are displ
107107

108108
## Update existing code components
109109

110-
Whenever you update the code components and want to see the runtime changes, you need to change<!--note from editor: I don't think "bump" is going to necessarily be well-understood by non-native English readers. Maybe this should be "increase"?--> the `version` property in the manifest file. We recommend that you change the version of the component whenever you make changes.
110+
Whenever you update the code components and want to see the runtime changes, you need to change the `version` property in the manifest file. We recommend that you change the version of the component whenever you make changes.
111111

112112
> [!NOTE]
113-
> Existing code components are updated only when the app is closed or reopened in Power Apps Studio. When you reopen the app, it asks you to update the code components. Simply deleting or adding code components back into the app won't update the components.
113+
> Existing code components are updated only when the app is closed or reopened in Power Apps Studio. When you reopen the app, it asks you to update the code components. Simply deleting or adding code components back into the app won't update the components. Publish all the customizations in the updated solution first, otherwise updates made to the code component won't appear.
114114
115115
### See also
116116

@@ -119,4 +119,4 @@ Whenever you update the code components and want to see the runtime changes, you
119119
[Learn Power Apps component framework](/learn/paths/use-power-apps-component-framework)
120120

121121

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

powerapps-docs/developer/component-framework/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Power Apps component framework overview in Microsoft Dataverse| Microsoft Docs"
2+
title: "Power Apps component framework overview in Microsoft Dataverse(contains video) | Microsoft Docs"
33
description: "Use the Power Apps component framework to create code components to provide an enhanced experiences for people to view and work with data in forms, views, and dashboards."
44
keywords: "Component Framework, code components, Power Apps controls"
55
author: nkrb
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: DataProviderCapabilities | Microsoft Docs
3+
description: Provides methods to use dataset capabilities.
4+
keywords:
5+
ms.author: nabuthuk
6+
author: Nkrb
7+
manager: kvivek
8+
ms.date: 12/13/2021
9+
ms.service: "powerapps"
10+
ms.suite: ""
11+
ms.tgt_pltfrm: ""
12+
ms.topic: "article"
13+
ms.assetid: 8907f07a-ad45-47e4-a503-8eaae9bba5f7
14+
---
15+
16+
# DataProviderCapabilities
17+
18+
Provides access to all the properties of a file.
19+
20+
## Available for
21+
22+
Canvas apps
23+
24+
## Properties
25+
26+
### isEditable
27+
28+
If the data provider has edit capabilities.
29+
30+
**Type**: `boolean`
31+
32+
### isFilterable
33+
34+
If the dataset can be filtered.
35+
36+
**Type**: boolean
37+
38+
### isSortable
39+
40+
If the dataset can be sorted.
41+
42+
**Type**: `boolean`
43+
44+
### canPaginate
45+
46+
If the dataset records can be paged.
47+
48+
**Type**: `boolean`
49+
50+
### canCreateNewRecords
51+
52+
Whether adding new records is supported or not.
53+
54+
**Type** `boolean`
55+
56+
## Related topics
57+
58+
[Power Apps component framework API reference](../reference/index.md)<br/>
59+
[Power Apps component framework overview](../overview.md)
60+
61+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: ICommand | Microsoft Docs
3+
description: A command button control types.
4+
keywords:
5+
ms.author: nabuthuk
6+
author: Nkrb
7+
manager: kvivek
8+
ms.date: 12/06/2021
9+
ms.service: "powerapps"
10+
ms.suite: ""
11+
ms.tgt_pltfrm: ""
12+
ms.topic: "article"
13+
ms.assetid: 16691acb-a58c-4ca6-b6a8-58c76c9db1ca
14+
---
15+
16+
# ICommand
17+
18+
A command button control types.
19+
20+
## Available for
21+
22+
Model-driven and canvas apps
23+
24+
## Values
25+
26+
| Value | Description |
27+
| -------------------- | ------------------------- |
28+
| `ButtonControl` | Button control type |
29+
| `FlyoutControl` | Flyout control type |
30+
| `SplitButtonControl` | Split button control type |
31+
32+
### Related topics
33+
34+
[Power Apps component framework API reference](../reference/index.md)<br/>
35+
[Power Apps component framework overview](../overview.md)
36+
37+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]
Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
11
---
22
title: AttributeMetadata | Microsoft Docs
3-
description: Provides all the information about attributes metadata.
3+
description: Provides all the information about attributes/columns definitions.
44
keywords:
55
ms.author: nabuthuk
66
manager: kvivek
77
author: nkrb
8-
ms.date: 10/01/2020
8+
ms.date: 06/12/2021
99
ms.service: "powerapps"
1010
ms.suite: ""
1111
ms.tgt_pltfrm: ""
1212
ms.topic: "article"
1313
ms.assetid: ad8659f7-f566-43db-bed1-c8484c114a59
1414
---
15+
1516
# AttributeMetadata
1617

17-
Provides all the information about attributes metadata.
18+
Provides all the information about attributes/columns definitions.
1819

1920
## Available for
2021

21-
Model-driven apps
22+
Canvas apps
2223

2324
## Properties
2425

25-
|Name|Type|Description|
26-
|-------|---------|------|
27-
|Description|string|Description of the attribute.|
28-
|DisplayName|string|Display name of the attribute.|
29-
|LogicalName|string|Logical name of the attribute.|
30-
|IsEditable|boolean|Determines whether the attribute is editable or not|
31-
|IsSecured|boolean|Determines whether the attribute is secure or not.|
32-
|IsReadable|boolean|Determines whether the attribute is read-only or not|
33-
|RequiredLevel|number|Required level of the attribute.|
34-
|SourceType|number|Determines the source type.|
35-
|Type|string|Attribute data type.|
36-
||||
26+
| Name | Type | Description |
27+
| ------------- | ------- | --------------------------------------------------- |
28+
| DefaultValue | string | Default value of the column. |
29+
| DisplayName | string | Display name of the column. |
30+
| IsEditable | boolean | Determines whether the column is editable or not. |
31+
| LogicalName | string | Logical name of the column. |
32+
| MaxLength | number | Maximum length of the column. |
33+
| RequiredLevel | number | Required level of the column. |
34+
| Type | string | Column data type. |
3735

3836
### Related topics
3937

4038
[Power Apps component framework API reference](../reference/index.md)<br/>
4139
[Power Apps component framework overview](../overview.md)
4240

43-
44-
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]
41+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

powerapps-docs/developer/component-framework/reference/column.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
ms.author: nabuthuk
66
author: Nkrb
77
manager: kvivek
8-
ms.date: 10/01/2019
8+
ms.date: 06/12/2021
99
ms.service: "powerapps"
1010
ms.suite: ""
1111
ms.tgt_pltfrm: ""
@@ -17,7 +17,7 @@ ms.assetid: db4be085-c31e-4045-8834-b0f45c569964
1717

1818
[!INCLUDE [column-description](includes/column-description.md)]
1919

20-
## Available for
20+
## Available for
2121

2222
Model-driven and canvas apps
2323

@@ -29,33 +29,45 @@ The alias of the column.
2929

3030
**Type**: `string`
3131

32+
### attributes
33+
34+
This is available only for canvas apps.
35+
36+
**Type**: `[AttributeMetadata](./attributemetadata.md)`
37+
38+
### cellType
39+
40+
Cell type. This is available only for canvas apps.
41+
42+
**Type**: `string`
43+
3244
### dataType
3345

3446
The data type of the column's values.
3547

3648
**Type**: `string`
3749

38-
### disableSorting
50+
### disableSorting
3951

40-
Prevents the UI from making the column sortable.
52+
Prevents the UI from making the column sortable. This is available only for canvas apps.
4153

4254
**Type**: `boolean`<br />
4355

4456
### displayName
4557

46-
Localized display name for the column
58+
Localized display name for the column.
4759

4860
**Type**: `string`
4961

50-
### isHidden
62+
### isHidden
5163

52-
The column visibility state.
64+
The column visibility state. This is available only for canvas apps.
5365

5466
**Type**: `boolean`<br />
5567

5668
### isPrimary
5769

58-
Is specific column the primary column of the view's table.
70+
Is specific column the primary column of the view's table. This is available only for model-driven apps.
5971

6072
**Type**: `boolean`<br />
6173

@@ -73,14 +85,13 @@ The column order for the layout.
7385

7486
### visualSizeFactor
7587

76-
Customized column width ratios.
88+
Customized column width ratios.
7789

7890
**Type**: `number`
7991

80-
8192
### Related topics
8293

8394
[Power Apps component framework API reference](../reference/index.md)<br/>
8495
[Power Apps component framework overview](../overview.md)
8596

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

powerapps-docs/developer/component-framework/reference/context.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
ms.author: nabuthuk
66
author: Nkrb
77
manager: kvivek
8-
ms.date: 10/01/2019
8+
ms.date: 06/12/2021
99
ms.service: "powerapps"
1010
ms.suite: ""
1111
ms.tgt_pltfrm: ""
@@ -17,7 +17,7 @@ ms.assetid: 6e066350-9d22-4078-b497-26be7d2fa374
1717

1818
[!INCLUDE [context-description](includes/context-description.md)]
1919

20-
## Available for
20+
## Available for
2121

2222
Model-driven and canvas apps
2323

@@ -72,7 +72,7 @@ The resource interface of `context.resources`
7272

7373
### updatedProperties
7474

75-
An array of strings with values that have changed since the last time it was passed and [parameters](#parameters). `updatesProperties` is currently only supported for model-driven apps and always returns empty string for canvas apps. More information: [updatedProperties](updatedproperties.md)
75+
An array of strings with values that have changed since the last time it was passed and [parameters](#parameters). More information: [updatedProperties](updatedproperties.md)
7676

7777
**Type**: `string[]`
7878

0 commit comments

Comments
 (0)