Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Report block.

Report block: Difference between revisions

From MoodleDocs
(Added section to cover outdated reports (4.0))
(Update to 4.0)
Line 3: Line 3:
The "Report" block displays data represented in a selected [[Report builder|custom report]].
The "Report" block displays data represented in a selected [[Report builder|custom report]].


Once a report block has been added to the sidebar or to the main region (usually on the dashboard or inside a course), it has to be configured with the following settings:
Once a report block has been added to the sidebar or to the main region (usually on the dashboard, a custom page, or inside a course), it has to be configured with the following settings:
* '''Block title''': Standard block heading
* '''Block title''': Standard block heading
* '''Select report''': Custom report that will be embedded in the block
* '''Select report''': Custom report that will be embedded in the block
Line 19: Line 19:


The following display options have been configured in the block settings:
The following display options have been configured in the block settings:
* Layout (Adaptive)
* '''Layout''' (Adaptive)
* Number of entries per page (3)
* '''Number of entries per page''' (3)
The following display options have been configured in the custom report settings:
The following display options have been configured in the custom report settings:
* Number of columns always visible (3)
* '''Columns visible''' (1)
* Show the first column title (No)
* '''First column title''' (No)
The following shows the same report in table view displayed on the sidebar dashboard:
 
 
The following shows the same report in table view:
[[File:Report block - Table view.png|border|center|frameless|900x900px|alt=]]
[[File:Report block - Table view.png|border|center|frameless|900x900px|alt=]]



Revision as of 03:25, 18 October 2022

workplacelogo.png This feature is part of Moodle Workplace™, which is available through Moodle Partners only.

The "Report" block displays data represented in a selected custom report.

Once a report block has been added to the sidebar or to the main region (usually on the dashboard, a custom page, or inside a course), it has to be configured with the following settings:

  • Block title: Standard block heading
  • Select report: Custom report that will be embedded in the block
  • Layout: Configure how the data will be displayed
    • Adaptive: Moodle Workplace automatically switches between Cards and Table view, depending on the available space.
    • Cards: Always display data in card view regardless of the screen or block size. The layout of the card has to be configured in the Card view settings of the report.
    • Table: Always display data in table view regardless of the screen or block size.
  • Entries per page: Number of entries to be displayed
Report block - Configuration.png


The following is an example of the card view displayed in the sidebar of a course:

Report block - Card view.png


The following display options have been configured in the block settings:

  • Layout (Adaptive)
  • Number of entries per page (3)

The following display options have been configured in the custom report settings:

  • Columns visible (1)
  • First column title (No)


The following shows the same report in table view:


The full version of a report is always available in all layouts and regions via the "Go to full report" link. If pagination is available, you can also show all records.

If you have any legacy reports on your system (see Report builder - outdated version), an additional selection is provided.

Report Block - Outdated Version.png