Is there a way to launch a LTI from a link or button in the content page itself?
I'm not sure what you are trying to do, but here is one way you could do it.
When the LTI app is integrated into the course and placed in the Course Navigatoin, there will be a button or link exposed somewhere in the course itself, maybe in the left course menu or possibly in the right menu panel.
The simple solution is to inspect the HTML of that LTI application button and get the link information, and use that information to build your own button on your content page. I have tested this and it will work.
One obvious gotcha, if the LTI app is integrated for admin or faculty only, and you are trying to expose it for students, you will not get the result you want if the LTI provider is doing their job properly and inspecting the user roles.
I suppose one advantage to doing this is that you could remove the LTI app from the course navigation, so students would only see the LTI button on the pages that the LTI functions are related to.
Can you share the use case that you have in mind for this?
The short answer is "yes". I'm not sure of the details of how it works but Mediasite does this. When you add Mediasite content via the rich text editor in course pages, it inserts an iframe element into the page content that looks like this:
The /external_tools/retrieve generates a form and returns it to the browser which then immediately submits it as an LTI launch request to mediasite.example.com.
The thing I'm not sure about is how that /external_tools/retrieve part works. I know it looks up what to do based on the domain name coming in via the url=* parameter. I'm not sure if the LTI tool has to register a handler in some way during tool installation or what.
I am calling the canvas API to get course Information. This is the endpoint that i am using /courses/{contextId}?include[]=account This is not returning the account.
Hi everyone, I am seeking some insight into how Canvas LMS handles HTTP errors and how they are reflected in the logs versus the user interface. We are currently observing the following behavior in our environment: Log-only errors: We are seeing 500 (Internal Server Error) and 503 (Service Unavailable) errors recorded in…
Hi everyone, If you write integrations against Canvas by Instructure at an institution — K-12, higher ed, corporate training, government, or anywhere in between — we'd love your feedback. We're running a short survey on the Canvas developer experience: APIs, data access, tooling, and documentation. Results will feed into…
I'm currently integrating an LTI tool and attempting to use the Activity.id.history https://canvas.instructure.com/doc/api/file.tools_variable_substitutions.html#activity-id-history variable, but I'm experiencing issues getting it to work properly. What I've Done: Added the Activity.id.history variable to my Developer…
I looked through the LTI Variable Substitutions documentation and while there are variable substitutions available for Canvas.term.name and Canvas.term.id (which is the Canvas incremented ID like "104"), I was surprised to see there was no option for Canvas.term.sisSourceId I tried testing other possible variants that may…