The Inspect Data option in WebReports Visualize allows users to view the underlying data used by a Visualize.
Use this article to enable or disable the Inspect Data option by changing the VisualizeRawData setting in the WebReports appsettings.json file.
Before You Begin
Before editing the WebReports configuration:
- Make sure you have access to the WebReports installation directory.
- Make sure you have permission to edit
appsettings.json. - Create a backup copy of
appsettings.jsonbefore making changes. - Make sure you have access to a WebReports report that contains a Visualize so you can verify the setting afterward.
Use caution when editing
appsettings.json. Incorrect formatting can prevent WebReports from loading correctly.
Open appsettings.json
- Navigate to the WebReports installation directory.
- Locate
appsettings.json. - Open the file in a text editor with the appropriate permissions.
- Locate the
VisualizeRawDatasetting.
VisualizeRawData setting in appsettings.json
Enable Inspect Data
To enable the Inspect Data option, set:
"VisualizeRawData": true
When this value is set to true, the Inspect Data option is available when viewing a report that contains a Visualize.
- Save the changes to
appsettings.json. - Open WebReports.
- Run a report that contains a Visualize.
- Open the Visualize.
- Confirm that the Inspect Data button is available.
Inspect Data enabled in WebReports Visualize
Disable Inspect Data
To disable the Inspect Data option, set:
"VisualizeRawData": false
When this value is set to false, the Inspect Data option is not available when viewing a report that contains a Visualize.
- Save the changes to
appsettings.json. - Open WebReports.
- Run a report that contains a Visualize.
- Open the Visualize.
- Confirm that the Inspect Data button is no longer available.
When
VisualizeRawDatais set tofalse, the Inspect Data option should not be displayed.
Verify the Setting
After changing VisualizeRawData:
- Open WebReports.
- Run a report that contains a Visualize.
- Open the Visualize.
- Verify whether the Inspect Data button is displayed based on the value configured in
appsettings.json.
| Setting | Result |
|---|---|
"VisualizeRawData": true |
Inspect Data is available |
"VisualizeRawData": false |
Inspect Data is unavailable |
Troubleshooting
Inspect Data Does Not Appear
If VisualizeRawData is set to true but Inspect Data does not appear:
- Confirm that you edited the correct WebReports
appsettings.jsonfile. - Confirm that the value is set to
true. - Verify that the change was saved successfully.
- Confirm that the report you are testing contains a Visualize.
Inspect Data Is Still Available After Disabling It
If VisualizeRawData is set to false but the button is still available:
- Confirm that the correct
appsettings.jsonfile was edited. - Verify that the value was saved as
false. - Confirm that there are no duplicate
VisualizeRawDataentries in the file.
WebReports Does Not Start After Editing appsettings.json
- Reopen
appsettings.json. - Confirm that the JSON formatting is valid.
- Confirm that
VisualizeRawDatais set to eithertrueorfalse. - Restore the backup copy if necessary.
If the issue continues, contact BridgeWorks Support.
Comments
0 comments
Please sign in to leave a comment.