Skip to main content

Badges data source in Dash

About the Badges data source and available fields, filters, and conditions (Pro only)

About

The badges data source allows you to list badges available within Moodle. This data source is useful for creating badge walls to showcase achievements or for listing available badges within a specific course to motivate students.

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


Available fields

These are the building blocks available for your layout:

Badges

  • Badge

  • Issued date

  • Badge image

  • Badge Image URL

  • Badge URL

  • Badge button

  • Badge link

  • Origin

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:

  • Origin

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


Available conditions

You can restrict which badges 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.

Did this answer your question?