Skip to content

Commit 51b3c3b

Browse files
authored
Live publish
2 parents 5783f51 + a7f46cd commit 51b3c3b

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

powerapps-docs/user/export-data-excel.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: kvivek
66
ms.service: powerapps
77
ms.component: pa-user
88
ms.topic: conceptual
9-
ms.date: 11/16/2018
9+
ms.date: 07/09/2020
1010
ms.author: mduelae
1111
ms.custom: ""
1212
ms.reviewer: ""
@@ -67,8 +67,28 @@ The error message occurs due to a setting in Excel. To fix the issue, do this:
6767

6868
5. Select **OK** and then close the **Options** dialog box.
6969

70+
## Limit the number of records that can be exported to Excel using Web API
71+
72+
Update the `maxrecordsforexporttoexcel` attribute of the Organization entity using the Web API.
73+
74+
## Example
75+
76+
The Web API request given below will set the value of `maxrecordsforexporttoexcel` attribute to 100.
77+
78+
```html
79+
PUT [Organization URI]/api/data/v9.1/organizations(df617a54-bc85-48bf-a4f2-3c4208a405e1)
80+
Content-Type: application/json
81+
OData-MaxVersion: 4.0
82+
OData-Version: 4.0
83+
84+
{
85+
"maxrecordsforexporttoexcel": 100
86+
}
87+
```
88+
89+
> [!NOTE]
90+
> The default value of `maxrecordsforexporttoexcel` attribute is 100000. If the value of `maxrecordsforexporttoexcel` attribute is increased to more than 100000, then timeouts may occur and export may fail. It is recommended to split the records into multiple views and then upload.
7091
7192
### See also
7293

7394
[Troubleshoot export to excel](ts-export-to-excel.md)
74-

0 commit comments

Comments
 (0)