Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

reportbuilder: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
These docs are still under construction. Contact simon ~dot~ coggins ~at~ totaralms {dot} com for more details or suggestions for improvements.
{{obsolete}}
 
{{Work in progress}}


=Report Builder technical documentation=
=Report Builder technical documentation=


See http://tracker.moodle.org/browse/MDL-30193 for more details
We are currently working on porting Report Builder, see [[Report_Builder_Specification|the Report Builder specification]] for more details.


Report builder has an API intended to make it easy to extend the functionality in a number of ways. The primary feature is the ability to write report sources, that allow the user to generate reports based on specific data from within moodle.
The original user stories (which will no longer be followed) [[reportbuilder/spec_as_user_stories|are available here]].
 
[[reportbuilder/API|Report builder has an API]] intended to make it easy to extend the functionality in a number of ways. The primary feature is the ability to write report sources, that allow the user to generate reports based on specific data from within moodle.


It is also possible to create new content and access restrictions, filter types, and display functions.
It is also possible to create new content and access restrictions, filter types, and display functions.
Line 11: Line 15:
==Beginner Topics==
==Beginner Topics==


* [[reportbuilder/Overview|Overview]] TODO
* [[reportbuilder/Overview|Overview]]
* [[reportbuilder/Hello_World_Source|Hello World Source]]
* [[reportbuilder/Hello_World_Source|Hello World Source]]
* [[reportbuilder/Adding_a_Column|Adding a Column]]
* [[reportbuilder/Adding_a_Column|Adding a Column]]
Line 23: Line 27:
* [[reportbuilder/Combining_Multiple_Fields|Combining Multiple Fields]]
* [[reportbuilder/Combining_Multiple_Fields|Combining Multiple Fields]]
* [[reportbuilder/Advanced_Column_Options|Advanced Column Options]]
* [[reportbuilder/Advanced_Column_Options|Advanced Column Options]]
* [[reportbuilder/Advanced_Filter_Options|Advanced Filter Options]] TODO
* [[reportbuilder/Advanced_Filter_Options|Advanced Filter Options]]
* [[reportbuilder/Predefined_Common_Options|Predefined Common Options]] TODO
* [[reportbuilder/Predefined_Common_Options|Predefined Common Options]] TODO
* [[reportbuilder/General_Report_Options|General Report Options]] TODO
* [[reportbuilder/General_Report_Options|General Report Options]] TODO
Line 31: Line 35:
==Advanced Topics==
==Advanced Topics==


* [[reportbuilder/Advanced_Joins|Advanced Joins]] TODO
* [[reportbuilder/Grouping_and_Aggregation|Grouping and Aggregation]] TODO
* [[reportbuilder/Content_Restrictions|Content Restrictions]] TODO
* [[reportbuilder/Content_Restrictions|Content Restrictions]] TODO
* [[reportbuilder/Access_Restrictions|Access Restrictions]] TODO
* [[reportbuilder/Access_Restrictions|Access Restrictions]] TODO
* [[reportbuilder/Parameter_Restrictions|Parameter Restrictions]] TODO
* [[reportbuilder/Parameter_Restrictions|Parameter Restrictions]] TODO
* [[reportbuilder/Advanced_Joins|Advanced Joins]] TODO
* [[reportbuilder/Required_Columns|Required Columns]] TODO
* [[reportbuilder/Required_Columns|Required Columns]] TODO
* [[reportbuilder/Grouping_and_Aggregation|Grouping and Aggregation]] TODO
* [[reportbuilder/Preprocessors|Preprocessors]] TODO
* [[reportbuilder/Preprocessors|Preprocessors]] TODO
* Creating new filter options
* Creating new filter options
Line 42: Line 46:
==Embedded Reports==
==Embedded Reports==


* Overview
* [[reportbuilder/embeddedoverview|Overview]]
* Access restrictions in embedded reports
* Access restrictions in embedded reports
* Embedded reports in My Reports list
* Embedded reports in My Reports list
Line 50: Line 54:
==Troubleshooting==
==Troubleshooting==


* Common Exceptions (automatic check errors)
* Common Exceptions (automatic error checks)
* Other errors
* Other errors
* Debugging tools
* Debugging tools
* Choosing a base table / Performance
* Choosing a base table / Performance
* [[reportbuilder/benchmarks|Performance benchmarks]]

Latest revision as of 13:38, 14 October 2021

Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable.


Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments.


Report Builder technical documentation

We are currently working on porting Report Builder, see the Report Builder specification for more details.

The original user stories (which will no longer be followed) are available here.

Report builder has an API intended to make it easy to extend the functionality in a number of ways. The primary feature is the ability to write report sources, that allow the user to generate reports based on specific data from within moodle.

It is also possible to create new content and access restrictions, filter types, and display functions.

Beginner Topics

Intermediate Topics

Advanced Topics

Embedded Reports

  • Overview
  • Access restrictions in embedded reports
  • Embedded reports in My Reports list
  • Resetting to defaults
  • Embedded parameters

Troubleshooting

  • Common Exceptions (automatic error checks)
  • Other errors
  • Debugging tools
  • Choosing a base table / Performance
  • Performance benchmarks