LTI 1.3 - placing line items from a single deep link response in separate course sections

npastor
Community Member

Hi everyone.

We are in the last steps of building an app integrated with canvas using LTI 1.3 deep linking (we don't use the Canvas API at all). One of the features of our app is an activity link picker that allows instructors to pick activities related to a certain book. This activities can be either graded or ungraded, and the expected behavior for the app is to place the graded activities on the "assignments" section of the Canvas course and the ungraded ones on the "Modules" section. However, we noticed that sending a single deep link response containing a mixture of both types of links results in Canvas placing all of them in the modules section. And to make things worse, all gradable items placed inside of a module are unable to receive grade passbacks.

Here´s an example of the deep link responses we are sending to Canvas:

 

 

{
  "iss": "10000...",
  "aud": "https://canvas.instructure.com",
  "nonce": "8266...",
  "iat": 1706546589,
  "exp": 1706546889,
  "locale": "en_US",
  "https://purl.imsglobal.org/spec/lti/claim/deployment_id": "14905...",
  "https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiDeepLinkingResponse",
  "https://purl.imsglobal.org/spec/lti/claim/version": "1.3.0",
  "https://purl.imsglobal.org/spec/lti-dl/claim/content_items": [
    {
      "type": "ltiResourceLink",
      "title": "Ebook: Some ebook title",
      "url": "https://link-to-our-external-platform.com/22222?chapter=1",
      "submission": {
        "endDateTime": null
      },
      "window": {
        "targetName": "_blank"
      }
    },
    {
      "type": "ltiResourceLink",
      "title": "Quiz: How to Use Quiz",
      "url": "https://link-to-our-external-platform.com/11111",
      "submission": {
        "endDateTime": null
      },
      "lineItem": {
        "scoreMaximum": 10,
        "label": "Quiz: How to Use Quiz",
        "resourceId": "",
        "tag": "originality"
      },
      "window": {
        "targetName": "_blank"
      }
    },
    {
      "type": "ltiResourceLink",
      "title": "Quiz: Chapter 1: The Science of Quiz",
      "url": "https://link-to-our-external-platform.com/2222",
      "submission": {
        "endDateTime": null
      },
      "lineItem": {
        "scoreMaximum": 10,
        "label": "Quiz: Chapter 1: The Science of Quiz",
        "resourceId": "",
        "tag": "originality"
      },
      "window": {
        "targetName": "_blank"
      }
    }
  ]
}

 

 

 

Is there a way to send both graded and ungraded links in a single response and have them placed in the expected sections?

 

Thanks in advance.

 

0 Likes