This topic describes how to add a static JSON file to DataV.
Prerequisites
The static JSON file to be added is prepared.Procedure
- Log on to the DataV console.
- Create a project. For more information, see Use a template to create a project.
- On the edit page of the template project, click a widget in the application canvas. In the right-side configuration pane, click the Data tab.
- On the Data tab, click Set.
- In the Set Data Source pane, select Static Data from the Data Source Type drop-down list.
- Paste the content of the static JSON file to the data editing box in the preceding figure. Important The file size must be less than 512 KB.
- Click Preview Data Response to view the response style of the data source.