Creating custom reports with the report generator
The report generator was initially implemented as part of Moodle Workplace, Moodle’s powerful and flexible learning platform for corporate training and workplace learning. Due to its popularity in Moodle’s commercial edition and its applicability across sectors, it was decided to port the report generator to Moodle 4. The stripped-down version has been adopted by Moodle and has proven to be a valuable addition to creating custom reports.
So, before we deal with data sources and report building, let’s explore the report generator.
Exploring the report generator
You might not have realized it, but you have already used reports in the previous 11 chapters! How? Well, Moodle has done something very smart: it uses internal reports for key features in Moodle. For example, the list of certificate templates in the Skills and incentives section in Chapter 9, Configuring Educational Features, is a report. The report...