Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Exporting Reports in JSON/SQL Formats

Canvas enables you to export the configured reports in JSON and SQL formats. You can use this feature to promote reports configuration from one environment to another, e.g. development to testing servers. Once you export the reports configuration in JSON format from source environment (e.g. development), you can then inject using the Import feature in Canvas Studio on the target environment (e.g. testing). If you have exported in SQL format from the source environment, you must execute the exported SQLs on the DB in the target environment.
Perform the following steps to export the report metadata in JSON and SQL formats:

Steps to export report metadata in JSON format:

  1. Click Information Report menu from the left navigation in Canvas Studio.

    A list of configured reports appears on the right-side of the page.

...


  1. Image Added
  2. Right-click an existing report and click Generate JSON.

...


  1. Image Added
  2. Click OK to the success message.




Image RemovedImage Added
The JSON file containing the report metadata is exported with the component ID as filename as highlighted in the following screenshot.
Image Removed
Image Added
Steps to export report metadata in SQL format:

  1. Click Information Report menu from the left navigation in Canvas Studio.

    A list of configured reports appears on the right-side of the page.

...


  1. Image Added
  2. Right-click an existing report in Canvas Studio and click Generate SQL.

...


  1. Image Added
  2. Click OK to the success message.


Image Modified
The SQL file containing the report metadata is exported with the scomponent ID as filename as highlighted in the following screenshot.
Image Removed
Image Added