Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73988

Create "Badges" custom report source

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      Setup

      1. Log in as admin
      2. Create two new users
        • User One
        • User Two
      3. Navigate to Badges > Add a new badge in site administration
      4. Fill in the required fields to create your badge
      5. On Criteria page choose Manual issue by role
      6. Select Manager role and save
      7. Press Enable access > Confirm
      8. Navigate to Recipients page
      9. Award badge to User One and User Two
      10. Create a second site badge with different criteria
        • Do not award this badge to any users
      11. Create a new course
      12. Enrol User One as a student
      13. Press More > Badges > Add a new badge from course homepage
      14. On Criteria page choose Manual issue by role
      15. Select Teacher role and save
      16. Press Enable access > Confirm
      17. Navigate to Recipients page
      18. Award badge to User One

      Create report

      1. Navigate to Reports > Report builder > Custom reports in site administration
      2. Create a new report from Badges report source
        • Ensure Include default setup is checked
      3. In report editor, confirm you see the following columns:
        • Badge name
        • Badge description
        • Badge recipient
        • Badge date issued
      4. Confirm report shows all created badges and recipients they were issued to
      5. Add the following columns:
        • Course > Course full name
        • Badge details > Image
        • Badge details > Criteria
      6. Delete the Badge issued > Date issued column
      7. Change aggregation for the Badge recipient > Full name column to Count
      8. Confirm report shows new column content, and count of number of recipients for each badge
      9. Open Conditions editor
      10. Set Badge details > Type to Is equal to: Site and apply
      11. Confirm report shows only site level badges
      Show
      Setup Log in as admin Create two new users User One User Two Navigate to Badges > Add a new badge in site administration Fill in the required fields to create your badge On Criteria page choose Manual issue by role Select Manager role and save Press Enable access > Confirm Navigate to Recipients page Award badge to User One and User Two Create a second site badge with different criteria Do not award this badge to any users Create a new course Enrol User One as a student Press More > Badges > Add a new badge from course homepage On Criteria page choose Manual issue by role Select Teacher role and save Press Enable access > Confirm Navigate to Recipients page Award badge to User One Create report Navigate to Reports > Report builder > Custom reports in site administration Create a new report from Badges report source Ensure Include default setup is checked In report editor, confirm you see the following columns: Badge name Badge description Badge recipient Badge date issued Confirm report shows all created badges and recipients they were issued to Add the following columns: Course > Course full name Badge details > Image Badge details > Criteria Delete the Badge issued > Date issued column Change aggregation for the Badge recipient > Full name column to Count Confirm report shows new column content, and count of number of recipients for each badge Open Conditions editor Set Badge details > Type to Is equal to: Site and apply Confirm report shows only site level badges

    Description

      The purpose of this new report source, is to allow flexible reports to be generated to allow for the reporting of all badges across the site, their criteria and users who have been issued with them

      Columns

      1. Badge details
        • Name (default)
        • Description (default)
        • Criteria
        • Image
        • Language
        • Version
        • Badge status
        • Expiry date
        • Image author's name
        • Image author's email
        • Image author's URL
      2. Badge issued
        • Date issued (default)
        • Expiry date
        • Visible
      3. Badge recipient
        • Full name (default)
        • <everything from user entity>
      4. Course
        • <everything from course entity>

      Conditions

      1. Badge details
        • Type (default)
        • Name (default)
        • Badge status
      2. Badge issued
        • Date issued
        • Expiry date
        • Visible
      3. Badge recipient
        • <everything from user entity>
      4. Course
        • <everything from course entity>

      Filters

      1. Badge details
        • Name (default)
        • Badge status
        • Type
      2. Badge issued
        • Date issued (default)
        • Expiry date
        • Visible
      3. Badge recipient
        • Full name (default)
        • <everything from user entity>
      4. Course
        • <everything from course entity>

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              David Matamoros David Matamoros
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Carlos Castillo, David Matamoros, Mikel Martín Corrales, Paul Holden
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 20 minutes
                  5h 20m