Outcome Writeback Using Content Item from Editor Button LTI Tool

Jump to solution
justinball
Community Member

I have a couple of tools that integrate with Canvas using the Editor Button LTI extension. I'm using the content item specification and I'm able to insert an iframe that does an LTI launch into the WYSIWYG. I'd really like to be able to do an outcome write back.

The last example from 3 Information Model, titled "LTI Launch Link with Outcomes Support" seems to indicate it should be possible and I've included the content item response that I'm sending below. Does Canvas support this? If not would it be possible to add it? If it is supported what configuration am I missing to get the LTI launch to send the outcome service url?

{ '@context': [ 'http://purl.imsglobal.org/ctx/lti/v1/ContentItem', { lineItem: 'http://purl.imsglobal.org/ctx/lis/v2/LineItem', res: 'http://purl.imsglobal.org/ctx/lis/v2p1/Result#' } ], '@graph': [ { '@type': 'LtiLinkItem', mediaType: 'application/vnd.ims.lti.v1.ltilink', title: "Example", url: "https://www.example.com/launch", lineItem: { '@type': 'LineItem', label, reportingMethod: 'res:totalScore', scoreConstraints: { '@type': 'NumericLimits', normalMaximum: 10, extraCreditMaximum: 0, totalMaximum: 10, }, }, placementAdvice: { presentationDocumentTarget: 'iframe', }, }, ], }

Thanks!
Justin

1 Solution
jpoulos
Instructure Alumni
Instructure Alumni

 @justinball ‌

Canvas does not currently support this part of the content item spec. Bare in mind that when IMS talks about a "line item" being added to the gradebook, in Canvas this means that an external tool type assignment would have to be added after we receive the message.

I'd like to get a better idea of the workflow you envision for how you would use this. Where would the user in Canvas be when they decide they want to add an assignment (i.e. line item) from an external tool? Perhaps a new placement on the assignments page ("+External Assignment") could be added that would allow a user pick from a list of tools that are set up return content item messages that Canvas would in turn create assignment(s) from? I'd be interested in what you had in mind.

Jesse Poulos

Partner Integrations Specialist

Instructure

View solution in original post