Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40043

LTI Gradebook items: allow grade calculations and release options to be configurable

    XMLWordPrintable

    Details

    • 20 status:
      Please Merge
    • Test Plan:
      Hide

      Add the test tool like the one at www.tsugi.org/lti-test/ and add it as a content item producer.  Place an item into Lessons - make sture to edit the title each time you do this so you can find the right gradebook column.  There are two extensions on the same screen as the title  - here are the keys:

      https://www.sakailms.org/spec/lti-ags/v2p0/releaseToStudent
      https://www.sakailms.org/spec/lti-ags/v2p0/includeInComputation

      Each can be true or false (just enter these strings) and they set the default for the release and include checkboxes in the Sakai gradebook.  Each time you add an item - check the resulting gradebook column to make sure the checkboxes reflect the settings in the content item.

      Test this in both the direct link to the tool in Lessons and in a rich text editor in Lessons through the shopping cart.  Both should correctly set the checkboxes.

       

      Show
      Add the test tool like the one at www.tsugi.org/lti-test/ and add it as a content item producer.  Place an item into Lessons - make sture to edit the title each time you do this so you can find the right gradebook column.  There are two extensions on the same screen as the title  - here are the keys: https://www.sakailms.org/spec/lti-ags/v2p0/releaseToStudent https://www.sakailms.org/spec/lti-ags/v2p0/includeInComputation Each can be true or false (just enter these strings) and they set the default for the release and include checkboxes in the Sakai gradebook.  Each time you add an item - check the resulting gradebook column to make sure the checkboxes reflect the settings in the content item. Test this in both the direct link to the tool in Lessons and in a rich text editor in Lessons through the shopping cart.  Both should correctly set the checkboxes.  

      Description

      When a gradebook item is created by an LTI tool, the default options are hard coded and can not be modified programmatically:
       
      Release item to students? Yes
      Include item in course grade calculations? No
       
      This has been solved by adding two Sakai-specific extensions to the LineItem element of the Content Item JSON. Here are the keys:

      https://www.sakailms.org/spec/lti-ags/v2p0/releaseToStudent
      https://www.sakailms.org/spec/lti-ags/v2p0/includeInComputation

      Each can be true or false (just enter these strings) and they set the default for the release and include checkboxes in the Sakai gradebook.  Each time you add an item - check the resulting gradebook column to make sure the checkboxes reflect the settings in the content item.

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  csev Charles Severance
                  Reporter:
                  baholladay Bryan Holladay
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration