Hi
I am trying to add a link on a course menu by using redirecting tool. It worked.
But I would like to make the link hidden by default, so that users have to go to settings and drag and drop to make it available for students.
Any advices?
thanks
li
This is a hack of the redirect tool in edu-apps.org site hosted by Instructure. Use at your own risk:
<SPAN class="prolog token"><?xml version="1.0" encoding="UTF-8"?></SPAN><BR /><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN>cartridge_basiclti_link</SPAN> <SPAN class="attr-name token">xmlns</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticc_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticc_v1p0</A><SPAN class="punctuation token">"</SPAN></SPAN> <SPAN class="attr-name token"><SPAN class="namespace token">xmlns:</SPAN>blti</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imsbasiclti_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imsbasiclti_v1p0</A><SPAN class="punctuation token">"</SPAN></SPAN> <BR /><SPAN class="attr-name token"><SPAN class="namespace token">xmlns:</SPAN>lticm</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticm_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticm_v1p0</A><SPAN class="punctuation token">"</SPAN></SPAN> <BR /><SPAN class="attr-name token"><SPAN class="namespace token">xmlns:</SPAN>lticp</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticp_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticp_v1p0</A><SPAN class="punctuation token">"</SPAN></SPAN> <BR /><SPAN class="attr-name token"><SPAN class="namespace token">xmlns:</SPAN>xsi</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer">http://www.w3.org/2001/XMLSchema-instance</A><SPAN class="punctuation token">"</SPAN></SPAN> <BR /><SPAN class="attr-name token"><SPAN class="namespace token">xsi:</SPAN>schemaLocation</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticc_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticc_v1p0</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imsbasiclti_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imsbasiclti_v1p0</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticm_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticm_v1p0</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/imslticp_v1p0" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/imslticp_v1p0</A><SPAN> </SPAN><A class="jive-link-external-small" href="http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd" rel="nofollow noopener noreferrer">http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd</A><SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">blti:</SPAN>title</SPAN><SPAN class="punctuation token">></SPAN></SPAN>Custom Redirect Tool Tab<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">blti:</SPAN>title</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">blti:</SPAN>description</SPAN><SPAN class="punctuation token">></SPAN></SPAN>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.<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">blti:</SPAN>description</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">blti:</SPAN>launch_url</SPAN><SPAN class="punctuation token">></SPAN></SPAN><A href="https://www.edu-apps.org/redirect" target="test_blank" rel="nofollow noopener noreferrer">https://www.edu-apps.org/redirect</A><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">blti:</SPAN>launch_url</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">blti:</SPAN>custom</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>url<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><A href="https://www.example.com" target="test_blank" rel="nofollow noopener noreferrer">https://www.example.com</A><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">blti:</SPAN>custom</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">blti:</SPAN>extensions</SPAN> <SPAN class="attr-name token">platform</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>canvas.instructure.com<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>icon_url<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><A href="https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png" target="test_blank" rel="nofollow noopener noreferrer">https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</A><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>link_text<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>privacy_level<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>anonymous<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>tool_id<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>redirect<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>options</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>course_navigation<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>url<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><A href="https://www.example.com" target="test_blank" rel="nofollow noopener noreferrer">https://www.example.com</A><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>text<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>CUSTOM TAB LABEL<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>visibility<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>public<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>default<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>disabled<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN> <SPAN class="attr-name token">name</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>windowTarget<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN>_blank<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">lticm:</SPAN>property</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /> <SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN><SPAN class="namespace token">blti:</SPAN>extensions</SPAN><SPAN class="punctuation token">></SPAN></SPAN><BR /><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN>cartridge_basiclti_link</SPAN><SPAN class="punctuation token">></SPAN></SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Use the paste as XML option in the settings tab: How do I configure an external app for an account using XML?
For the consumer key and secret enter in NA and 'secret' respectively.
The URL on lines 11, and 19 will be whatever external site you need to have your users visit if the tab is enabled. The things I added were on lines 19-23 to specify the placement of the tool as a navigation tab.
Line 22 is what makes the navigation tab disabled by default if you add this at the account level rather than the course level. Line 23 makes it open in a new tab.
The label on line 20 can be customized, but so far I would match the text up with the name you enter on the LTI XML dialog. I would do a bit of experimentation with this in your test environment.
I claim no responsibility or ownership on the above code, and Instructure may or may not support it so enjoy at your own risk.
At a technical level, if a user exists in two separate Canvas instances, is this a problem a Canvas Trust can address? If so, how? Can you add a trust(ed) login to an existing user account? Most of the (very limited) documentation I've found seems to focus on Trusts operating with enrollments, not users, but it does seem…
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 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…