Edit and remove views
Change the SQL or the fields of a view, or remove a view and its reports.
You change and remove views in the Views screen. Each view has a gear icon on its card.
Edit a view
- In Views, select the card of the view, or select its gear icon and then Edit.
- Change the JSON in the View specification editor.
- Select SUBMIT.
Reports that use the view use the new SQL the next time they run.
Keep your reports when you change a field
Reports remember each field by an ID. Without output, the ID comes from column. If you change the column of a field, its ID changes and reports lose that field from their fields, groups, filters and sorting.
To rename a column safely, give the field an output first, for example "output": "total". The ID is then total, whatever the column is. See View definition.
Changing name, type, format or group keeps the ID.
Remove a view
- Select the gear icon on the card of the view, then Remove.
- Confirm with Remove.
Removing a view also removes every report that uses it. This cannot be undone, so back up OpenReports first if you are not sure.