Cvmcosta / ltijs

Turn your application into a fully integratable LTI 1.3 tool provider.
https://cvmcosta.github.io/ltijs/
Apache License 2.0
303 stars 69 forks source link

Possibility of selecting multiple resources with deeplinking #62

Closed GreenOn closed 4 years ago

GreenOn commented 4 years ago

Hi, So far we have been planning to implement our tool UI to select only one resource at a time. Reading LTIJS docs, we understand that some platforms maynot allow the tools to select more than one. Given all of this, we are seeing some impelmentations like shown in this video https://www.youtube.com/watch?v=zBbN41fyIlA where they manage to send more than one resource from the tool using course level placement. Just wondering if there Is there anyway we can achieve this using LTI specs? It does not look like they are using deeplinking workflow laid out in your docs. Thanks!

Cvmcosta commented 4 years ago

Seeing the video i think they are just using deep linking regularly, i believe that Canvas accepts more than one resource at a time.

Can you tell what exactly do you think they are doing that is misrepresented in the ltijs docs? Hopefully i can improve them.

Thanks!

GreenOn commented 4 years ago

No, ltijs docs match with what Canvas is saying in their docs as well on the deeplinking resource limitation. I read it in another community blog that canvas there is a parameter (multiple_resources) platforms send to tool. It is a boolean flag and Canvas sets this to false. Now on the above implementation shown in the video, I guess they are using Canvas REST api instead of LTI. We are very close to implementing deeplinking using ltijs. I will share with this community here on how it is working.

Cvmcosta commented 4 years ago

Aaah, it would make sense that they're using the Canvas API. Please let me know if you find more information or have any more doubts.