Skip to content

Commit 5bb1c9b

Browse files
author
Eugene Polevikov (DevExpress)
committed
Merge branch 'polevikov-json-data-source-wizard-enhancements' into 21.2
2 parents ab40ed6 + 2be2f21 commit 5bb1c9b

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

interface-elements-for-desktop/articles/report-designer/report-designer-for-winforms/bind-to-data/bind-a-report-to-json-data.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,21 @@ This topic describes how to bind a report to JSON data.
7676
> [!Tip]
7777
> If the path parameters, query parameters, and header parameters you specified do not contain sensitive data, you can save them along with the connection parameters. Otherwise, the path parameters, query parameters, and header parameters are used once to retrieve JSON data to an object in memory. This object is accessible until you close the Report Designer.
7878
79-
5. On the next page, the wizard shows the specified JSON data's structure. You can choose all nodes or a subset of nodes.
79+
5. On the next page, the wizard shows the structure of your JSON data. You can choose whether to include all records (root) or a subset of them to the datasource’s final set of records.
8080

81-
![JSON-SelectRootElement](../../../../images/eurd-win-JSON-SelectRootElement.png)
81+
![](../../../../images/JSON-SelectRootElement.png)
8282

83-
Uncheck the data fields that your report does not require.
83+
Uncheck data fields that you do not want to include to your report.
8484

85-
You can rename data fields if necessary.
85+
![](../../../../images/JSON-EnableDisableFields.png)
8686

87-
![JSON-EditFieldNames](../../../../images/eurd-win-JSON-EditFieldNames.png)
87+
Assign a title to a field’s Field Display Name column if you want to use this title as a default field name.
88+
89+
![](../../../../images/JSON-EditFieldNames.png)
90+
91+
The JSON Data Source Wizard analyzes only the first 100 records to generate field types. If your JSON data contains more than 100 records, you can use all of them for type generation. For this, click the Analyze all records button.
92+
93+
![](../../../../images/json-wizard-analyze-all-records-button.png)
8894

8995
After you finish the wizard, it creates the **JsonDataSource** component. This component retrieves the checked data fields that the selected JSON element includes. The [Field List](..\report-designer-tools\ui-panels\field-list.md) reflects the data source structure.
9096

22.9 KB
Loading
22.8 KB
Loading
77.9 KB
Loading
Binary file not shown.
Binary file not shown.
148 KB
Loading

0 commit comments

Comments
 (0)