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.
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…
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…
Summary:The Learning Mastery Gradebook allows drag-and-drop reordering of outcome columns, and this triggers a call to /api/v1/courses/:course_id/assign_outcome_order. The API returns 204 No Content (success), but the column order does not persist after page refresh. Steps to Reproduce: Open Learning Mastery Gradebook for…
I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas. I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID…