This topic describes how to add a static JSON file to DataV.

Prerequisites

The static JSON file to be added is prepared.

Procedure

  1. Log on to the DataV console.
  2. Create a project. For more information, see Use a template to create a project.
  3. 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.
  4. On the Data tab, click Set.
  5. In the Set Data Source pane, select Static Data from the Data Source Type drop-down list.
    Set Data Source pane
  6. 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.
  7. Click Preview Data Response to view the response style of the data source.