BiblioViva Documentation
Screen

Reports library

The Reports library lists the reports shipped with BiblioViva and those of the school, and makes it possible to try them, download them, create new ones, customise them or remove them. It is reserved for the admin account and opens from the Reports library tab of the Configuration. Whoever consults the reports every day uses the Reports page instead. The procedure for writing one is in the guide Create a report; the file format is described in the technical reference of the reports.

The Reports library with the list of reports and the commands of each row
Figure 1. The Reports library with the list of reports and the commands of each row
  1. The New report and Upload a report (JSON) buttons.
  2. The list of reports with title, code and markers.
  3. The commands of a row: Edit, Duplicate, Try, Download and Delete.

New report

The New report button opens the editor with an empty report. After Save the report stays in the library.

Upload a report (JSON)

The Upload a report (JSON) button installs a report file. Before installing it BiblioViva checks the format, the safety of the query and the tables and columns it uses. A file with the same code as a shipped report takes its place; the page confirms with "Report … installed" or "Report … replaced". These rejections are possible:

Files not loaded

When a file of the reports folder cannot be read, a yellow box, "These files are not loaded", lists it with the reason. For the files of the school the box offers Delete.

The list of reports

Each row shows the title of the report, its code and these markers:

The commands of the row are:

Report editor

The editor has two modes, Guided and SQL. In guided mode the Data, the Rows, the Columns, the Values, the Filters, the Order and the Chart (Bars, Lines or Doughnut) are chosen; a report with columns becomes a pivot table, with the Totals. Edit as SQL turns the report into a hand-written one and there is no way back to guided editing. In every mode the code, the category, the title and the description in Italian and in English are given, and the "Administrators only" box is available. Preview runs the report with the default values of the parameters, at most 200 rows. Save records it; Back to the library leads back here.

A–Z index