New to Telerik Reporting? Download free 30-day trial

JsonDataSource Wizard Overview

The Json Data Source Wizard allows you to create a new or edit an existing JsonDataSource component in the Telerik Web Report Designer. This article describes the steps you can follow when the wizard appears, after being invoked from the Report Designer toolbox.

  1. Choose a JSON source Select how the json source should be retrieved for the component.

    • Upload JSON file from the local computer

    • Use existing JSON file that previously has been uploaded and/or exists in the IResourceStorage The default implementation of the IResourceStorage interface - ResourceStorage stores resources like json files to the location provided as a string parameter in the constructor #constructor. When choosing the option "Use existing json file", any existing json files found in this directory will populate the dropdown list.

    • Use JSON inline to paste in a string in the text area

Optionally, you can use the Data selector to query and filter the JSON data. The data selector is a JSONPath string which will be used to query the data.

  1. If you have chosen to "Upload json file" or "Use existing json file" you have the option to store this inside the report definition by checking "Embed json file in report definition" option. This way, the json data can be directly edited in the text area, and will no longer be dependent on having the json file available in ResourceStorage.

  2. Preview Data Source Results Preview the data-set and see that it returns the expected data. Click Finish to Exit the Wizard and save the data source component.

In this article