Skip to main content

Courses data source in Dash

About the Courses data source and available fields, filters, and conditions (Plus only)

About

The Courses data source provides access to course information within your Moodle site. It is used to build course catalogs, individual overviews, or featured course lists.

You can find these settings when opening the preferences of a Dash block.


Available fields

These are the building blocks available for your layout:

Course

  • Short name

  • Full name

  • Course start date

  • ID number

  • Summary

  • Course URL

  • Course button

  • Course image URL

  • Course image

  • Course image link

  • Format

  • Enable completion tracking

  • Course tags

  • Total activities

  • Users completed

  • Users not completed

  • Status

  • Enrollment options

  • Smart course button

  • Course information button (links to the course dashboard if it exists, otherwise to the enrollment option page)

  • Custom course fields (setup individual on your Moodle installation)

Course category

  • Category name

  • Category URL

Details area

  • Details button

  • Details link

Note: For how to enable and arrange these fields, see Fields preferences. To configure how the details button and link behave, see the Details area preferences.


Available filters

These are the filters available in the data source:

  • Category

  • Course start date

  • Course end date

  • Format

  • Course tags

  • Status

  • Course dates

Note: For how to enable these for your users, see Filters preferences.


Available conditions

You can restrict which courses are included in the block using the following rules:

  • Current course – Limits data to the course the block is currently displayed in.

  • Courses – Manually select specific courses to display.

  • My enrolled courses – Only shows courses where the current user is enrolled.

  • Course categories – Limits data to courses within selected Moodle categories.

  • Hide my enrolled courses – Excludes courses the user is already attending.

  • Enrollment options – Filters based on how users can join the course.

  • Status – Filters by the course status.

  • Show hidden courses – Includes courses that are hidden from students in Moodle.

  • Course dates – Filters based on start or end date parameters.

Note: For how to apply these restrictions, see Conditions preferences.

Did this answer your question?