Skip to content

Commit 0829b64

Browse files
committed
Merge remote-tracking branch 'origin/main' into fafuxa-ms-patch-6
2 parents 7ce57ed + 8a94e98 commit 0829b64

File tree

73 files changed

+2218
-1639
lines changed

Some content is hidden

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

73 files changed

+2218
-1639
lines changed

.openpublishing.redirection.json

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,42 @@
11
{
22
"redirections": [
33
{
4-
"source_path": "powerapps-docs/maker/data-platform/data-platform-cr.md",
5-
"redirect_url": "create-edit-entities-portal",
4+
"source_path": "powerapps-docs/maker/portals/known-issues.md",
5+
"redirect_url": "/power-pages/known-issues",
66
"redirect_document_id": false
77
},
88
{
9-
"source_path": "powerapps-docs/cards/controls/repeat-for-every.md",
10-
"redirect_url": "/power-apps/cards/controls/control-reference#r",
9+
"source_path": "powerapps-docs/maker/portals/configure/search.md",
10+
"redirect_url": "/power-pages/configure/search/overview",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "powerapps-docs/maker/portals/configure/search-additional-entities.md",
15+
"redirect_url": "/power-pages/configure/search/additional-tables",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "powerapps-docs/maker/portals/configure/improve-portal-search-faceted-search.md",
20+
"redirect_url": "/power-pages/configure/search/faceted",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "powerapps-docs/maker/portals/configure/search-file-attachment.md",
25+
"redirect_url": "/power-pages/configure/search/file-attachment",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "powerapps-docs/maker/portals/configure/progressive-search.md",
30+
"redirect_url": "/power-pages/configure/search/progressive",
31+
"redirect_document_id": false
32+
},
33+
{
34+
"source_path": "powerapps-docs/maker/data-platform/data-platform-cr.md",
35+
"redirect_url": "create-edit-entities-portal",
1136
"redirect_document_id": false
1237
},
1338
{
14-
"source_path": "powerapps-docs/cards/controls/repreat-for-every.md",
39+
"source_path": "powerapps-docs/cards/controls/repeat-for-every.md",
1540
"redirect_url": "/power-apps/cards/controls/control-reference#r",
1641
"redirect_document_id": false
1742
},
@@ -25,6 +50,16 @@
2550
"redirect_url": "overview",
2651
"redirect_document_id": false
2752
},
53+
{
54+
"source_path": "powerapps-docs/developer/data-platform/annotation-note-entity.md",
55+
"redirect_url": "attachment-annotation-files",
56+
"redirect_document_id": false
57+
},
58+
{
59+
"source_path": "powerapps-docs/developer/data-platform/org-service/samples/upload-retrieve-download-attachment.md",
60+
"redirect_url": "attachment-annotation-files",
61+
"redirect_document_id": false
62+
},
2863
{
2964
"source_path": "powerapps-docs/maker/portals/embed-portal-website.md",
3065
"redirect_url": "/power-pages/configure/embed-website",

powerapps-docs/developer/component-framework/manifest-schema-reference/control.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ title: Control Element | Microsoft Docs
33
description: Defines the component's namespace, version and display information.
44
ms.author: noazarur
55
author: noazarur-microsoft
6-
manager: lwelicki
7-
ms.date: 11/21/2022
6+
ms.date: 02/22/2023
87
ms.reviewer: jdaly
98
ms.topic: reference
109
ms.subservice: pcf
@@ -28,7 +27,7 @@ Model-driven and canvas apps
2827
|`constructor`|A method for initializing the object|[!INCLUDE [alphanumerictype-description](includes/alphanumerictype-description.md)]|Yes|Model-driven and canvas apps |
2928
|`control-type`|Whether the control is a standard control or a React control. The value of `virtual` indicates a React control using platform React library. Virtual controls are a feature in public preview. More information: [React controls & platform libraries (Preview) ](../react-controls-platform-libraries.md)|[!INCLUDE [controltype-description](includes/controltype-description.md)]|No|Model-driven and canvas apps |
3029
|`description-key`|Defines the description of the component that will be seen on the UI.|`string`|No|Model-driven and canvas apps |
31-
|`display-name-key`|Defines the name of the control that is displayed on the UI.|`string`|Yes|Model-driven and canvas apps |
30+
|`display-name-key`|Defines the name of the control that is displayed on the UI.|`string`|Yes|Model-driven and canvas apps |
3231
|`preview-image`|Image that will be used on the customization screens to show a preview of the component.|`string`|No|Model-driven apps|
3332
|`version`|Defines the version of the component defined in [Semantic Versioning](https://semver.org)|`string`|Yes|Model-driven and canvas apps |
3433
<!--|`hidden`|Defines whether the component should be hidden or not|[!INCLUDE [booleantype-description](includes/booleantype-description.md)]| No|Model-driven apps|-->
@@ -44,6 +43,7 @@ Model-driven and canvas apps
4443
|Element|Description|Occurrences|
4544
|--|--|--|
4645
|[data-set](data-set.md)|[!INCLUDE [data-set-description](includes/data-set-description.md)]|0 or more|
46+
|[external-service-usage](external-service-usage.md)|[!INCLUDE [external-service-usage-description](includes/external-service-usage-description.md)]|0 or 1|
4747
|[property](property.md)|[!INCLUDE [property-description](includes/property-description.md)]|0 or more|
4848
|[resources](resources.md)|[!INCLUDE [resources-description](includes/resources-description.md)]|1|
4949
|[type-group](type-group.md)|[!INCLUDE [type-group-description](includes/type-group-description.md)]|0 or more|
@@ -52,9 +52,13 @@ Model-driven and canvas apps
5252
## Example
5353

5454
```xml
55-
<control namespace="MyNameSpace" constructor="JSHelloWorldControl" version="1.0.0"
56-
display-name-key="JS_HelloWorldControl_Display_Key" description-key="JS_HelloWorldControl_Desc_Key"
57-
control-type="standard" preview-image="img/preview.png">
55+
<control namespace="MyNameSpace"
56+
constructor="JSHelloWorldControl"
57+
version="1.0.0"
58+
display-name-key="JS_HelloWorldControl_Display_Key"
59+
description-key="JS_HelloWorldControl_Desc_Key"
60+
control-type="standard"
61+
preview-image="img/preview.png">
5862
</control>
5963
```
6064

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: ___domain element | Microsoft Docs
3+
description: Indicates the ___domain that the external-usage-element applies to.
4+
ms.author: noazarur
5+
author: noazarur-microsoft
6+
ms.date: 02/22/2023
7+
ms.reviewer: jdaly
8+
ms.topic: reference
9+
ms.subservice: pcf
10+
contributors:
11+
- JimDaly
12+
---
13+
# ___domain Element
14+
15+
[!INCLUDE [___domain-description](includes/___domain-description.md)]
16+
17+
## Available for
18+
19+
Canvas apps
20+
21+
## Parent Elements
22+
23+
|Element|Description|
24+
|--|--|
25+
|[external-service-usage](external-service-usage.md)|[!INCLUDE [external-service-usage-description](includes/external-service-usage-description.md)]|
26+
27+
## Example
28+
29+
```xml
30+
<external-service-usage enabled="true">
31+
<___domain>www.Microsoft.com</___domain>
32+
</external-service-usage>
33+
```
34+
35+
### Related topics
36+
37+
[Power Apps component framework manifest schema reference](index.md)<br/>
38+
[Power Apps component framework API reference](../reference/index.md)<br/>
39+
[Power Apps component framework overview](../overview.md)
40+
41+
42+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: external-service-usage element | Microsoft Docs
3+
description: Indicates whether this control is using external service or not.
4+
ms.author: noazarur
5+
author: noazarur-microsoft
6+
ms.date: 02/22/2023
7+
ms.reviewer: jdaly
8+
ms.topic: reference
9+
ms.subservice: pcf
10+
contributors:
11+
- JimDaly
12+
---
13+
# external-service-usage element
14+
15+
[!INCLUDE [external-service-usage-description](includes/external-service-usage-description.md)]
16+
17+
## Available for
18+
19+
Canvas apps
20+
21+
## Parent Elements
22+
23+
|Element|Description|
24+
|--|--|
25+
|[control](control.md)|[!INCLUDE [control-description](includes/control-description.md)]|
26+
27+
## Child Elements
28+
29+
30+
|Element|Description|Occurrences|Available for|
31+
|--|--|--|-------|
32+
|[___domain](___domain.md)|[!INCLUDE [___domain-description](includes/___domain-description.md)]|0 or more|Canvas apps |
33+
34+
35+
## Example 1
36+
37+
External usage enabled for www.microsoft.com only.
38+
39+
```xml
40+
<external-service-usage enabled="true">
41+
<___domain>www.Microsoft.com</___domain>
42+
</external-service-usage>
43+
```
44+
45+
## Example 2
46+
47+
External usage enabled for multiple domains.
48+
49+
```xml
50+
<external-service-usage enabled="false">
51+
<___domain>www.contoso.com</___domain>
52+
<___domain>www.yourcompany.com</___domain>
53+
</external-service-usage>
54+
```
55+
56+
## Example 3
57+
58+
External usage is not enabled.
59+
60+
```xml
61+
<external-service-usage enabled="false" />
62+
```
63+
64+
### Related topics
65+
66+
[Power Apps component framework manifest schema reference](index.md)<br/>
67+
[Power Apps component framework API reference](../reference/index.md)<br/>
68+
[Power Apps component framework overview](../overview.md)
69+
70+
71+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Specifies the ___domain within the [external-service-usage element](../external-service-usage.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Indicates whether this control is using external service or not. If it is, set the enabled attribute flag as true and add the external service ___domain to the `<___domain>` property. A control that uses any external service is a premium control and the end user will need a Power Apps license to open an app with a premium control. More information: [Licensing](../../overview.md#licensing)

powerapps-docs/developer/component-framework/manifest-schema-reference/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ title: Power Apps component framework manifest schema reference | Microsoft Docs
33
description: This section contains reference documentation for manifest schema generated using Microsoft Power Platform CLI.
44
ms.author: noazarur
55
author: noazarur-microsoft
6-
manager: lwelicki
7-
ms.date: 05/27/2022
6+
ms.date: 02/22/2023
87
ms.reviewer: jdaly
98
ms.topic: reference
109
ms.subservice: pcf
@@ -17,14 +16,16 @@ contributors:
1716
This section contains reference documentation for manifest schema generated using Microsoft Power Platform CLI.
1817

1918
> [!IMPORTANT]
20-
> The **Available for** tab shows which elements are supported by model-driven and canvas apps. It is recommended to check the **Available for** section for each individual property whether it is supported or not. For example, the **code** element is supported for both model-driven and canvas apps, but **html** and **img** properties in **code** elements doesn't support canvas apps.
19+
> The **Available for** tab shows which elements are supported by model-driven and canvas apps. It is recommended to check the **Available for** section for each individual property whether it is supported or not. For example, the **code** element is supported for both model-driven and canvas apps, but **html** and **img** properties in **code** elements doesn't support canvas apps.
2120
2221
|Element|Description|Available for|
2322
|----|-----------|-----|
2423
|[code](code.md)|[!INCLUDE [code-description](includes/code-description.md)]|Model-driven and canvas apps|
2524
|[control](control.md)|[!INCLUDE [control-description](includes/control-description.md)]|Model-driven and canvas apps|
2625
|[css](css.md)|[!INCLUDE [css-description](includes/css-description.md)]|Model-driven and canvas apps|
2726
|[data-set](data-set.md)|[!INCLUDE [data-set-description](includes/data-set-description.md)]|Model-driven apps|
27+
|[___domain](___domain.md)|[!INCLUDE [___domain-description](includes/___domain-description.md)]|Canvas apps|
28+
|[external-service-usage](external-service-usage.md)|[!INCLUDE [external-service-usage-description](includes/external-service-usage-description.md)]|Canvas apps|
2829
|[feature-usage](feature-usage.md)|The feature-usage element acts as a wrapper around the `uses-feature` elements, which themselves allow developers to declare which features their component wants to use. If there are no uses-feature elements defined, the feature-usage element is not required.|Model-driven apps|
2930
|[img](img.md)|[!INCLUDE [img-description](includes/img-description.md)]|Model-driven apps|
3031
|[manifest](manifest.md)|Manifest is the metadata file that defines a component. It is an XML document that describes<br/> - The namespace of the component.<br/> - The kind of data it can be configured, either a field or a data-set.<br/> - Any properties that can be configured in the application when the component is added.<br/> - A list of resource files that the component needs.<br/> - One of them must be a JavaScript web resource. This JavaScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.<br/> - The name of a JavaScript function in the component implementation library that will return an object that applies the required interface.<br/> When someone configures a component in the application, the data in the manifest filters out the available components so that only valid components for the context are available for configuration. The properties defined in the manifest for a component are rendered as configuration fields so that the person configuring the control can specify values. These property values are then available to your component function at run time.|Model-driven and canvas apps|

powerapps-docs/developer/component-framework/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,10 @@ items:
442442
href: manifest-schema-reference/css.md
443443
- name: data-set
444444
href: manifest-schema-reference/data-set.md
445+
- name: ___domain
446+
href: manifest-schema-reference/___domain.md
447+
- name: external-service-usage
448+
href: manifest-schema-reference/external-service-usage.md
445449
- name: feature-usage
446450
href: manifest-schema-reference/feature-usage.md
447451
- name: img

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,15 @@
8484
href: query-throttling.md
8585
- name: Query Hierarchical data
8686
href: query-hierarchical-data.md
87-
- name: Use image column data
88-
href: image-column-data.md
89-
- name: Use file column data
90-
href: file-column-data.md
87+
- name: Files and images overview
88+
href: files-images-overview.md
89+
items:
90+
- name: Use file column data
91+
href: file-column-data.md
92+
- name: Use image column data
93+
href: image-column-data.md
94+
- name: Use Attachments and Annotations
95+
href: attachment-annotation-files.md
9196
- name: Audit data changes
9297
items:
9398
- name: Overview
@@ -281,8 +286,6 @@
281286
href: update-recurring-appointment.md
282287
- name: Link custom columns of the recurring appointment master and appointment tables
283288
href: link-custom-attributes-recurring-master-appointment-entities.md
284-
- name: Annotation (note) table
285-
href: annotation-note-entity.md
286289
- name: Calendar tables
287290
href: calendar-entities.md
288291
items:

powerapps-docs/developer/data-platform/analyze-performance.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Analyze plug-in performance (Microsoft Dataverse) | Microsoft Docs"
33
description: "Learn how to find and analyze performance data on plug-ins execution."
4-
ms.date: 03/22/2022
4+
ms.date: 02/23/2023
55
ms.reviewer: "pehecke"
66
ms.topic: "article"
77
author: "divkamath"
@@ -18,12 +18,43 @@ contributors:
1818
---
1919
# Analyze plug-in performance
2020

21-
In addition to using a debugger and profiler to learn how your plug-in is performing at the code level, you can obtain metrics as to the overall performance of your registered plug-ins in an organization through [Microsoft Dataverse analytics](/power-platform/admin/analytics-common-data-service).
21+
When you add business logic to your plug-in you should be aware of the impact your plug-ins will have on overall system performance.
22+
23+
## Time and resource constraints
24+
25+
There is a **2-minute time limit** for a Dataverse message operation to complete. This limit includes executing all registered synchronous plug-ins. There are also limitations on the amount of CPU and memory resources that can be used by extensions. If the limits are exceeded an exception is thrown and the operation will be cancelled.
26+
27+
If the time limit is exceeded, an <xref:System.TimeoutException> will be thrown. If any custom extension exceeds threshold CPU, memory, or handle limits or is otherwise unresponsive, that process will be killed by the platform. At that point any current extension in that process will fail with exceptions. However, the next time that the extension is executed it will run normally.
28+
29+
## Monitor performance
30+
31+
Run-time information about plug-ins and custom workflow extensions is captured and stored in the [PluginTypeStatistic Table](reference/entities/plugintypestatistic.md). These records are populated within 30 minutes to one hour after the custom code executes. This table provides the following data points:
32+
33+
|**Column**|**Description**|
34+
|--|--|
35+
|AverageExecuteTimeInMilliseconds|The average execution time (in milliseconds) for the plug-in type. |
36+
|CrashContributionPercent|The plug-in type percentage contribution to crashes. |
37+
|CrashCount|Number of times the plug-in type has crashed. |
38+
|CrashPercent|Percentage of crashes for the plug-in type. |
39+
|ExecuteCount|Number of times the plug-in type has been executed. |
40+
|FailureCount |Number of times the plug-in type has failed. |
41+
|FailurePercent|Percentage of failures for the plug-in type. |
42+
|PluginTypeIdName|Unique identifier of the user who last modified the plug-in type statistic. |
43+
|TerminateCpuContributionPercent |The plug-in type percentage contribution to Worker process termination due to excessive CPU usage. |
44+
|TerminateHandlesContributionPercent |The plug-in type percentage contribution to Worker process termination due to excessive handle usage. |
45+
|TerminateMemoryContributionPercent|The plug-in type percentage contribution to Worker process termination due to excessive memory usage. |
46+
|TerminateOtherContributionPercent|The plug-in type percentage contribution to Worker process termination due to unknown reasons. |
47+
48+
## Plug-in performance analytics
49+
50+
In addition to using a debugger and profiler to learn how your plug-in is performing at the code level, you can interactively obtain metrics as to the overall performance of your registered plug-ins in an organization through [Microsoft Dataverse analytics](/power-platform/admin/analytics-common-data-service).
2251

2352
Through the [Plug-in](/power-platform/admin/analytics-common-data-service#plug-ins) dashboard you can view metrics such as average execution time, failures, most active plug-ins, and more.
2453

2554
![Analytics plug-in dashboard.](media/cds-insights-plugins.png)
2655

56+
To access the dashboard, navigate to [Power Platform Admin Center](https://admin.powerplatform.microsoft.com/). Select **Analytics** > **Dataverse** > **Plug-ins**.
57+
2758
## See also
2859

2960
[Use plug-ins to extend business processes](plug-ins.md)

0 commit comments

Comments
 (0)