Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
Found this content helpful? Log in or sign up to leave a like!
Hello,
I am tracing my way through the Lines Items and Scores API to make sense of how to implement A&GP.
I can add a line item (which in turn creates a Canvas assignment) and can submit scores. Gravy.
However, when I create a new line item that lists ANOTHER line item as the resource_link_id, I see a success, but DO NOT see this in the UX at all. Where does this other line item "go" - is there a visual representation of it in the UX at all?
Relatedly - I am able to submit a score for this line item even though I cannot "see" it in Canvas. This score submission succeeds, but it does not populate anywhere (not in the Gradebook).
What is the value of `resource_link_id` on a line_item? What's the use case to associate two line items this way?
And what's the value in scores being submitted for these sub-line_items (if they are not in the gradebook)?
Should I be ignoring this `resource_link_id` param entirely and never submit it for line_item creation?
Best,
.dig
Solved! Go to Solution.
I may have just answered my own question. I am now seeing that if a user (admin/teacher in Canvas) creates an assignment within Canvas by selecting "External Tool" - the launch to the LTI tool includes a "resource_link_id":
```
```
And so now I can dynamically create a new assignment in MY system - and then any changes the user makes to the assignment within my LTI tool can be persisted back to Canvas with this reference.
I may have just answered my own question. I am now seeing that if a user (admin/teacher in Canvas) creates an assignment within Canvas by selecting "External Tool" - the launch to the LTI tool includes a "resource_link_id":
```
```
And so now I can dynamically create a new assignment in MY system - and then any changes the user makes to the assignment within my LTI tool can be persisted back to Canvas with this reference.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In