Report builder outdated version

From MoodleDocs
workplacelogo.png This feature is part of Moodle Workplace™, which is available through Moodle Certified Partners and Service Providers only.

Moodle Workplace's report builder has been re-written in version 4 to bring it in line with Moodle LMS. The legacy report builder is still available to ensure a smooth transition from the old to the new version. This functionality is only available if the Enable custom reports setting (enablecustomreports) in Site administration > General > Advanced features remains enabled.

When upgrading from Moodle Workplace 3.11. to 4.0, the installer attempts to migrate all reports. However, some reports cannot be converted automatically for technical reasons and require manual intervention. If this is the case, the reports will moved to the Report builder - outdated version, and a message will be displayed in the new Report builder.

Report Builder - Outdated Version I.png

When you navigate to the legacy report builder (Site administration > Reports > Report builder - outdated version > Manage reports), you can see any reports that have not been converted. A new action Convert to latest version has been added.

Report Builder - Outdated Version II.png


If the conversion is successful, the report will be moved to the new Report builder, otherwise an error message will be shown. You will then need to edit the report or re-create it manually.

Note, while it is possible to create new reports using the legacy report builder, it is highly recommended to refrain from doing so since the outdated version will be discontinued in the near future!

You may consider disabling the creation of new reports by adding the following line(s) to the site configuration:

$CFG->tool_reportbuilder_limitsenabled = true;
$CFG->tool_reportbuilder_sitelimit = 0;
$CFG->tool_reportbuilder_tenantlimit = 0;