cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nardell
Community Participant

Add Redirect Tool available to all Course Shells, disabled by default

We have a web application at our institution that is currently not using LTI integration. As as simple first step towards integrating into Canvas, I would like to add a Redirect Tool pointing to our web application. I can easily do this as an admin. And by clicking the Show in Course Navigation, the redirect appears in every course shell in whatever account I add the tool. However, I would like to make the tool disabled by default, thus allowing Teachers to add the too to their Course Shell's Navigation if they see fit. Any advice would be helpful, since I have not found an easy way to do this yet.

Mike

Tags (1)
3 Replies
tdelillo
Community Champion

Have you read the fantastic https://community.canvaslms.com/groups/admins/blog/2018/04/09/managing-ltis-as-an-admin blog post? Part 2, updating via API, might do the trick (although I haven't tried it myself).

nardell
Community Participant

Thanks! I was trying something along those lines (modifying the Common Cartridge XML) but was not getting it to work. The post you pointed out got me to the the other side.

dlyons
Instructure
Instructure

Instead of using the URL config you can edit the XML and configure via XML directly. The code below needs the URL and title updated, but it has the correct settings to have the tool disabled by default.

<blti:title>CHANGE THIS TITLE</blti:title>
<blti:description>
Add links to external web resources that show up as navigation items in course, user or account navigation. Whatever URL you specify is loaded within the content pane when users click the link.
</blti:description>
<blti:launch_url>https://www.edu-apps.org/redirect</blti:launch_url>
<blti:custom>
<lticm:property name="url">https://CHANGE THIS URL</lticm:property>
</blti:custom>
<blti:extensions platform="canvas.instructure.com">
<lticm:options name="course_navigation">
<lticm:property name="enabled">true</lticm:property>
<lticm:property name="visibility">public</lticm:property>
</lticm:options>
<lticm:property name="icon_url">
</lticm:property>
<lticm:property name="link_text"/>
<lticm:property name="privacy_level">anonymous</lticm:property>
<lticm:property name="tool_id">redirect</lticm:property>
</blti:extensions>
</cartridge_basiclti_link>