resourcelinkid

92 views
Skip to first unread message

Vinod

unread,
Feb 1, 2014, 10:38:05 PM2/1/14
to valenc...@googlegroups.com
Hi,
I want to understand the concept behind the resource link id in the LTI launch .

When I capture the LTI requests, I am seeing the value as 'a555-b44-377-555_ '   

Is this unique per organization or is this the org Unit id ?

Desire2Learn Staff: Sarah-Beth

unread,
Feb 3, 2014, 9:30:58 AM2/3/14
to valenc...@googlegroups.com
Hi Vinod

Thanks for the question. The LTI Spec indicates that the resourcelinkid value is a unique identifier: 

resource_link_id=88391-e1919-bb3456
This is an opaque unique identifier that the TC guarantees will be unique within the TC for every placement of the link.   If the tool / activity is placed multiple times in the same context, each of those placements will be distinct. This value will also change if the item is exported from one system or context and imported into another system or context.  This parameter is required. (via http://www.imsglobal.org/LTI/v1p1p1/ltiIMGv1p1p1.html#_Toc330273026)

Based on the examples given in this description, we can see that this value is unique, even when the resource is reused within an organization or exported to another system. So it's far more granular than the Org level.

~S-BB

Vinod

unread,
Feb 3, 2014, 10:36:25 PM2/3/14
to valenc...@googlegroups.com
Thanks Sarah for the detailed description. I am almost clear on the resource link id.

Few questions in the same context -
When i create an activity / assignment from an external tool , Does D2L stores this assignment id and associate with the resource link id.
When clicked on this activity/assignment , what value will uniquely identify this assignment ?

lastly , the lis_outcome_sourcedid will uniquely identify this assignment ?

Thanks in advance.

Desire2Learn Staff: Sarah-Beth

unread,
Feb 4, 2014, 4:51:33 PM2/4/14
to valenc...@googlegroups.com
Hi Vinod

I have to clarify one thing about the resourcelinkid - in Desire2Learn, this value will remain the same if the link is copied as part of a course copy process. It's a small detail, but wanted to be sure I shared that with you in case it impacted your use case.

I spoke to one of our developers about your follow-up questions. His response is below.

D2L does not store the activity ID.  The mapping from resource_link_id to an activity provided by a tool needs to be maintained by the tool.  The lis_outcome_sourcedid is unique for each combination of user, course and resource_link_id.

Vinod

unread,
Feb 4, 2014, 10:11:04 PM2/4/14
to valenc...@googlegroups.com
Hi Sarah,
Thanks for the clarification on the resource_link_id.

I am working on a deeper than LTI Integration just like Mindlinks (as mentioned in this link https://kb.wisc.edu/luw/page.php?id=34295).

When I am creating an activity using valence API , will I know what actvity id / resource link id got created in D2L ?  When I click on the activity in d2l, does D2L pass me a unique id to identify if this particular activity user is coming to TP.

My use case -- create an activity using API under Module . Go to Content and click on this activity , D2L passes LTI information to TP. I need some identifier to check whick activity is being accessed.

May be this use case is very specific to my need.

Desire2Learn Staff: Sarah-Beth

unread,
Feb 5, 2014, 3:40:38 PM2/5/14
to valenc...@googlegroups.com
Have you had a chance to look at the recent two-part blog post about building applications using LTI and Valence? The first post shows you the sort of information that gets passed in an LTI launch. The second post goes into how to move beyond LTI and use Valence through the Remote Plugin service. That might be a good place to explore what info you need to grab from LTI, and what you'll have to rely on Valence to do for you.  

Vinod

unread,
Feb 6, 2014, 10:50:05 PM2/6/14
to valenc...@googlegroups.com
Thanks Sarah , i will check
Reply all
Reply to author
Forward
0 new messages