Closed danhammari closed 11 months ago
If you are not given a custom_lineitem_url
by the LTI platform then you will need to request a list of existing line items (or create your own line item) using the Line Item service, in order to get an endpoint to which you can send a score.
Thanks. I'll give that a try.
Hi Stephen,
I have been trying to send grades over to the Schoology LMS using the Assignment and Grades Services (AGS) protocol, and am having trouble with the
ResourceLink
classdoOutcomesService()
method. Though I enter the method, the logic cannot determine which outcomes service to use from the collection of variables. I added this logic so I could review the collected variables:And this is the outcome I receive:
These values maye it so I don't hit on any of the
if
statements that trigger the various outcomes services options. I had expected to trigger the first option, AGS, but theurlAGS
variable is populated with this statement:However, the
custom_lineitem_url
variable seems to be missing from the data that I received from Schoology:It appears that I am receiving
custom_lineitems_url
while the code is looking forcustom_lineitem_url
. From the LTI documentation, it appears that both may be considered valid options:https://www.imsglobal.org/spec/lti-ags/v2p0/#assignment-and-grade-service-claim