Skip to content

Commit 3ae8ee1

Browse files
authored
Merge branch 'live' into patch-2
2 parents 7c0238e + 71b2380 commit 3ae8ee1

File tree

95 files changed

+1310
-303
lines changed

Some content is hidden

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

95 files changed

+1310
-303
lines changed

powerapps-docs/developer/common-data-service/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
href: column-comparison.md
3434
- name: FetchXML search item limit
3535
href: quick-find-limit.md
36+
- name: Improve FetchXML request performance
37+
href: fetchxml-performance.md
3638
- name: "Use SQL to query data (Preview)"
3739
href: cds-sql-query.md
3840
- name: Saved Queries

powerapps-docs/developer/common-data-service/cds-sql-query.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Use SQL to query data (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn how to query Common Data Service entity data using SQL." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 05/26/2020
5+
ms.date: 09/25/2020
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -20,8 +20,13 @@ search.app:
2020

2121
[!INCLUDE[cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
2222

23+
> [!WARNING]
24+
> A problem has been identified with the Tabular Data Stream (TDS) endpoint. This feature is globally disabled, and we are working urgently to address the issue. This topic will be updated when the issue is resolved or when we have more information to share.
25+
2326
A SQL data connection is available on the Common Data Service endpoint. The SQL connection provides read-only access to the entity data of the target Common Data Service environment. This allows you to write and execute SQL queries against the entity data table. Table columns provide the attribute data of the entity. No custom views of the data have been provided.
2427

28+
29+
2530
> [!IMPORTANT]
2631
> - This is a preview feature, and isn't available in all regions.
2732
> - [!INCLUDE[cc_preview_features_definition](../../includes/cc-preview-features-definition.md)]
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
title: Improve FetchXML request performance | Microsoft Docs
3+
description: Learn how developers can improve FetchXML request performance when using Common Data Service.
4+
author: NHelgren
5+
manager: annbe
6+
ms.service: powerapps
7+
ms.topic: article
8+
ms.date: 09/28/2020
9+
ms.author: nhelgren
10+
ms.reviewer: "pehecke"
11+
search.audienceType:
12+
- developer
13+
search.app:
14+
- PowerApps
15+
- D365CE
16+
---
17+
18+
# Improve FetchXML request performance
19+
20+
An option available in FetchXML requests called *LateMaterialize* allows you to break up such
21+
requests into smaller more usable segments which can improve the performance of long running FetchXML requests.
22+
23+
> [!NOTE]
24+
> Performance improvements depend on the data distribution for each
25+
> participating entity and linked entity. Late materialization may not always
26+
> provide a performance benefit. It is best used if you are experiencing
27+
> performance issues with your existing fetch request.
28+
29+
Executing a traditional fetch for a given number of the top entity records will pull all
30+
the columns in the select list that meet the filter criteria. Let’s say you are
31+
pulling the top 500 records on an entity that has 100 columns and 100K rows
32+
that meet the filter criteria, this request can cause issues in two ways:
33+
34+
- The 99.5K rows will pull all columns, even though you only need to populate
35+
the select list for 500 rows when returning to the client.
36+
37+
- Query Optimizer can generate an arbitrary order when retrieving the child
38+
columns, resulting in an undesired data order.
39+
40+
Using `LateMaterialize` allows you to create a fetch that will:
41+
42+
- First pull only the primary ID of the top number of records specified.
43+
44+
- Select only the columns of data needed based on the primary IDs that were
45+
retrieved. For example, where only 5 columns are needed for display in the form.
46+
47+
By pulling only the needed data after the primary IDs are collected, the
48+
retrieval is much faster as data that is not needed for the current operation is
49+
excluded.
50+
51+
This is most beneficial when:
52+
53+
- The entity you are querying has one or more links to other entities for column data.
54+
55+
- There are many columns in the entity.
56+
57+
- The entity contains logical attributes.
58+
59+
## Syntax
60+
61+
```xml
62+
<fetch version="1.0" output-format="xml-platform" latematerialize="true"
63+
 mapping="logical" distinct="true">
64+
65+
<entity name="[entity]">​
66+
<attribute name="[attribute]" />
67+
68+
<link-entity name="[entity]" from="[linked entity]" to="[linked entityid]"
69+
link-type="outer" alias="[alias]">​
70+
<attribute name="[name of linked entity column]" />​
71+
</link-entity>
72+
73+
<filter type=[filter type]>​
74+
<condition attribute="[column]" operator="[operator]" value="[value]"/> ​
75+
</filter>​
76+
</entity>
77+
78+
</fetch>
79+
```
80+
81+
## Sample
82+
83+
```XML
84+
<fetch version="1.0" output-format="xml-platform" latematerialize="true"
85+
  mapping="logical" distinct="true">
86+
87+
<entity name="account">​
88+
<attribute name="accountnumber" />​
89+
<attribute name="createdby" />​
90+
<attribute name="ownerid" />​
91+
92+
<link-entity name="account" from="accountid" to="parentaccountid"
93+
link-type="outer" alias="oaccount">​
94+
<attribute name="createdby" />
95+
96+
<link-entity name="account" from="accountid" to="accountid" link-type="outer"
97+
alias="oaccount1">​
98+
<attribute name="createdby" />​
99+
<attribute name="accountid" />​
100+
<attribute name="name" />​
101+
</link-entity>​
102+
</link-entity>​
103+
104+
<link-entity name="account" from="accountid" to="accountid" link-type="outer"
105+
alias="oaccount2"/>
106+
107+
<filter type='and'>​
108+
<condition attribute="statecode" operator="eq" value="2"/> ​
109+
</filter>​
110+
</entity>​
111+
112+
</fetch>
113+
```
114+
115+
### See Also
116+
117+
[Use FetchXML to construct a query](use-fetchxml-construct-query.md)

powerapps-docs/maker/TOC.yml

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
href: ../user/export-excel-pivottable.md
146146
- name: Merge duplicate records
147147
href: ../user/merge-duplicate-records.md
148-
- name: Troubleshoot export to Excel
148+
- name: Troubleshoot export to Excel
149149
href: ../user/ts-export-to-excel.md
150150
- name: Reports
151151
items:
@@ -345,6 +345,10 @@
345345
href: ./canvas-apps/mixed-reality-component-view-mr.md
346346
- name: Measure in mixed reality
347347
href: ./canvas-apps/mixed-reality-component-measure-distance.md
348+
- name: Add pins to 3D models
349+
href: ./canvas-apps/mixed-reality-add-pins-3d-model.md
350+
- name: Upload photos from mixed reality
351+
href: ./canvas-apps/mixed-reality-take-upload-photos.md
348352
- name: "Add geospatial components (Preview)"
349353
items:
350354
- name: Geospatial components
@@ -500,7 +504,7 @@
500504
- name: App
501505
href: ./canvas-apps/functions/object-app.md
502506
- name: As
503-
href: ./canvas-apps/functions/operators.md#thisitem-thisrecord-and-as-operators
507+
href: ./canvas-apps/functions/operators.md#thisitem-thisrecord-and-as-operators
504508
- name: Asin
505509
href: ./canvas-apps/functions/function-trig.md
506510
- name: Assert
@@ -594,13 +598,13 @@
594598
- name: Enable
595599
href: ./canvas-apps/functions/function-enable-disable.md
596600
- name: EncodeUrl
597-
href: ./canvas-apps/functions/function-encode-decode.md
601+
href: ./canvas-apps/functions/function-encode-decode.md
598602
- name: EndsWith
599603
href: ./canvas-apps/functions/function-startswith.md
600604
- name: Errors
601605
href: ./canvas-apps/functions/function-errors.md
602606
- name: exactin
603-
href: ./canvas-apps/functions/operators.md#in-and-exactin-operators
607+
href: ./canvas-apps/functions/operators.md#in-and-exactin-operators
604608
- name: Exit
605609
href: ./canvas-apps/functions/function-exit.md
606610
- name: Exp
@@ -702,7 +706,7 @@
702706
- name: Param
703707
href: ./canvas-apps/functions/function-param.md
704708
- name: Parent
705-
href: ./canvas-apps/functions/operators.md#self-and-parent-operators
709+
href: ./canvas-apps/functions/operators.md#self-and-parent-operators
706710
- name: Patch
707711
href: ./canvas-apps/functions/function-patch.md
708712
- name: Pi
@@ -756,15 +760,15 @@
756760
- name: Select
757761
href: ./canvas-apps/functions/function-select.md
758762
- name: Self
759-
href: ./canvas-apps/functions/operators.md#self-and-parent-operators
763+
href: ./canvas-apps/functions/operators.md#self-and-parent-operators
760764
- name: Set
761765
href: ./canvas-apps/functions/function-set.md
762766
- name: SetFocus
763767
href: ./canvas-apps/functions/function-setfocus.md
764768
- name: SetProperty
765769
href: ./canvas-apps/functions/function-setproperty.md
766770
- name: Sequence
767-
href: ./canvas-apps/functions/function-sequence.md
771+
href: ./canvas-apps/functions/function-sequence.md
768772
- name: ShowColumns
769773
href: ./canvas-apps/functions/function-table-shaping.md
770774
- name: Shuffle
@@ -800,7 +804,7 @@
800804
- name: ThisItem
801805
href: ./canvas-apps/functions/operators.md#thisitem-thisrecord-and-as-operators
802806
- name: ThisRecord
803-
href: ./canvas-apps/functions/operators.md#thisitem-thisrecord-and-as-operators
807+
href: ./canvas-apps/functions/operators.md#thisitem-thisrecord-and-as-operators
804808
- name: Time
805809
href: ./canvas-apps/functions/function-date-time.md
806810
- name: TimeValue
@@ -1111,9 +1115,9 @@
11111115
- name: How to add a tab for SharePoint documents
11121116
href: ./model-driven-apps/add-documents-tab-entity-main-form.md
11131117
- name: Troubleshoot forms
1114-
items:
1118+
items:
11151119
- name: Use Monitor to troubleshoot forms
1116-
href: ./model-driven-apps/monitor-form-checker.md
1120+
href: ./model-driven-apps/monitor-form-checker.md
11171121
- name: Embed a canvas app on a model-driven form
11181122
href: ./model-driven-apps/embed-canvas-app-in-form.md
11191123
items:
@@ -1192,7 +1196,7 @@
11921196
- name: Add the rich text editor control
11931197
href: ./model-driven-apps/rich-text-editor-control.md
11941198
- name: Add the news control to an entity
1195-
href: ./model-driven-apps/stay-current-with-news-control.md
1199+
href: ./model-driven-apps/stay-current-with-news-control.md
11961200
- name: Use custom controls for data visualizations
11971201
href: ./model-driven-apps/use-custom-controls-data-visualizations.md
11981202
- name: Use Excel and Word templates
@@ -1204,6 +1208,8 @@
12041208
- name: Add reporting to your app
12051209
href: ./model-driven-apps/add-reporting-to-app.md
12061210
items:
1211+
- name: Create a Power BI embedded dashboard
1212+
href: ./model-driven-apps/create-edit-powerbi-embedded-page.md
12071213
- name: Report considerations
12081214
href: ./model-driven-apps/reporting-considerations.md
12091215
- name: RDL sandboxing
@@ -1443,6 +1449,8 @@
14431449
href: ./portals/configure/gather-feedback-poll.md
14441450
- name: Create and manage publishing states
14451451
href: ./portals/configure/publishing-states.md
1452+
- name: Create custom Portal Management app
1453+
href: ./portals/configure/create-custom-portal-management-app.md
14461454
- name: Advanced portal customization
14471455
items:
14481456
- name: Work with Liquid templates
@@ -1540,7 +1548,7 @@
15401548
href: ./common-data-service/index.yml
15411549
- name: What is Common Data Service?
15421550
href: ./common-data-service/data-platform-intro.md
1543-
- name: Why choose Common Data Service?
1551+
- name: Why choose Common Data Service?
15441552
items:
15451553
- name: Overview
15461554
href: ./common-data-service/why-cds-overview.md
@@ -1698,13 +1706,13 @@
16981706
- name: Work with solutions
16991707
items:
17001708
- name: Solutions overview
1701-
href: ./common-data-service/solutions-overview.md
1709+
href: ./common-data-service/solutions-overview.md
17021710
- name: Create a solution
17031711
href: ./common-data-service/create-solution.md
17041712
- name: Export solutions
17051713
href: ./common-data-service/export-solutions.md
17061714
- name: Import solutions
1707-
href: ./common-data-service/import-update-export-solutions.md
1715+
href: ./common-data-service/import-update-export-solutions.md
17081716
- name: Update or upgrade solutions
17091717
href: ./common-data-service/update-solutions.md
17101718
- name: Other solution tasks
@@ -1714,24 +1722,24 @@
17141722
- name: View solution history
17151723
href: ./common-data-service/solution-history.md
17161724
- name: View component dependencies
1717-
href: ./common-data-service/view-component-dependencies.md
1725+
href: ./common-data-service/view-component-dependencies.md
17181726
- name: Use environment variables
17191727
href: ./common-data-service/EnvironmentVariables.md
17201728
- name: Create a connection reference
17211729
href: ./common-data-service/create-connection-reference.md
17221730
- name: Translate customized component text
1723-
items:
1731+
items:
17241732
- name: Overview
17251733
href: ./common-data-service/translate-entity-label-text.md
17261734
- name: Export customized component text for translation
17271735
href: ./common-data-service/export-customized-entity-field-text-translation.md
17281736
- name: Import translated component text
1729-
href: ./common-data-service/import-translated-entity-field-text.md
1737+
href: ./common-data-service/import-translated-entity-field-text.md
17301738
- name: Use solution checker
17311739
href: ./common-data-service/use-powerapps-checker.md
17321740
items:
17331741
- name: "Common issues and resolutions: solution checker"
1734-
href: ./common-data-service/common-issues-resolutions-solution-checker.md
1742+
href: ./common-data-service/common-issues-resolutions-solution-checker.md
17351743
- name: Work with dataflows
17361744
href: ./common-data-service/self-service-data-prep-with-dataflows.md
17371745
items:
@@ -1765,13 +1773,13 @@
17651773
- name: Import translated entity and field text
17661774
href: ./common-data-service/import-translated-entity-field-text.md
17671775
- name: Export to data lake
1768-
items:
1776+
items:
17691777
- name: Export to Azure Data Lake Storage Gen2
17701778
href: ./common-data-service/export-to-data-lake.md
17711779
- name: Ingest exported data with Azure Data Factory
17721780
href: ./common-data-service/export-to-data-lake-data-adf.md
17731781
- name: Analyze exported data with Power BI
1774-
href: ./common-data-service/export-to-data-lake-data-powerbi.md
1782+
href: ./common-data-service/export-to-data-lake-data-powerbi.md
17751783
- name: Security in Common Data Service
17761784
href: /power-platform/admin/wp-security
17771785
- name: API limits overview
@@ -1824,6 +1832,8 @@
18241832
href: ../teams/relationships-table.md
18251833
- name: Work with table columns
18261834
href: ../teams/table-columns.md
1835+
- name: Project Oakdale FAQs
1836+
href: ../teams/data-platform-faqs.md
18271837
- name: Manage your apps
18281838
href: ../teams/manage-your-apps.md
18291839
- name: Publish and share your app
@@ -1898,7 +1908,7 @@
18981908
- name: Deploy the solution
18991909
href: ../sample-apps/return-to-workplace/deploy.md
19001910
- name: Upgrade the solution
1901-
href: ../sample-apps/return-to-workplace/upgrade.md
1911+
href: ../sample-apps/return-to-workplace/upgrade.md
19021912
- name: Configure the solution
19031913
href: ../sample-apps/return-to-workplace/configure.md
19041914
- name: Location Readiness dashboard

powerapps-docs/maker/canvas-apps/common-issues-and-resolutions.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer:
10-
ms.date: 07/02/2020
10+
ms.date: 09/22/2020
1111
ms.author: kvivek
1212
search.audienceType:
1313
- maker
@@ -28,7 +28,7 @@ This article lists some common issues that you might encounter while using Power
2828
When using embedded canvas apps such as SharePoint forms, SharePoint web parts, and model driven forms, users many see a black box when scrolling covering part of the app. This issue happens with chromium based browsers starting with version 83. There is not a workaround at this time. The team is actively investigating to find a fix and workaround. **A workaround in Power Apps was deployed in the week of 6/21/2020. In addition, the issue is fixed for Microsoft Edge based on Chromium with version 85.**
2929

3030
1. **Problems downloading attachments in SharePoint custom forms** (May 22, 2020)
31-
When using the attachment control to download an attachment, the click won't have any response when using Google Chrome version 83 or the new Microsoft Edge version 83 browser. As a workaround, change to use the default SharePoint form or use another browser. The team is actively working to fix this issue. **Fix has been deployed in the weeek of 6/8/2020**
31+
When using the attachment control to download an attachment, the click won't have any response when using Google Chrome version 83 or the new Microsoft Edge version 83 browser. As a workaround, change to use the default SharePoint form or use another browser. The team is actively working to fix this issue. **Fix has been deployed in the week of 6/8/2020**
3232

3333
1. **Problems downloading attachments in embedded Power Apps** (May 22, 2020)
3434
When using the attachment control to download an attachment, the click won't have any response when using Google Chrome version 83 or the new Microsoft Edge version 83 browser. As a workaround, use another browser. The team is actively working to fix this issue.
@@ -207,3 +207,7 @@ This article lists some common issues that you might encounter while using Power
207207
1. **Card gallery is deprecated**.
208208

209209
Existing apps that use this feature will continue to run for the time being, but you can't add a card gallery. Please replace card galleries with the new **[Edit form](controls/control-form-detail.md)** and **[Display form](controls/control-form-detail.md)** controls.
210+
211+
1. **Power Apps per app plans does not support Power Apps for Windows app**
212+
213+
Power Apps for Windows app is not supported if you're on the [Power Apps per app plans](https://docs.microsoft.com/power-platform/admin/about-powerapps-perapp).

0 commit comments

Comments
 (0)