themidiman
Community Champion

Reconfigure Redirect Edu Apps LTI - Hide from students

I'm working on helping someone who posted a question in another place, and it's got my gears spinning with no immediate resolution. 

How would someone reconfigure the XML for the Redirect LTI in Edu Apps so that it's only available to instructors?  

Labels (1)
Tags (3)
4 Replies
themidiman
Community Champion

I answered my own question by playing with the edu apps page options a bit. Anyone interested in the solution, here it is:

<?xml version="1.0" encoding="UTF-8"?>
<cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0"
xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0"
xmlns:lticm="http://www.imsglobal.org/xsd/imslticm_v1p0"
xmlns:lticp="http://www.imsglobal.org/xsd/imslticp_v1p0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd">

<blti:title>Redirect Tool</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:icon>https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</blti:icon>
<blti:custom>
<lticm:property name="new_tab">1</lticm:property>
<lticm:property name="url"><!-- URL you want to link out to--></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>
<!-- This line is what hides it from students -->
<lticm:property name="visibility">admins</lticm:property>
</lticm:options>
<lticm:property name="icon_url">https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</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>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

Great Sir ! Thank you for the help

0 Kudos

Can you tell me how I would apply this solution?

0 Kudos

@daivdmcnulty 

Use the instructions here: https://community.canvaslms.com/t5/Admin-Guide/How-do-I-configure-an-external-app-for-an-account-usi... 

The consumer key and secret field values don't matter...I believe they just need to be NOT blank. Just type 'key' and 'secret' in the consumer key and shared secret respectively. Then copy/paste the XML code into a plain text editor and enter the URL you want the tab to redirect to (it's line 15) below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
print 'hello world!'<?xml version="1.0" encoding="UTF-8"?>
<cartridge_basiclti_link
    xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0"
    xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0"
    xmlns:lticm="http://www.imsglobal.org/xsd/imslticm_v1p0"
    xmlns:lticp="http://www.imsglobal.org/xsd/imslticp_v1p0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"                          xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd">
    <blti:title>Redirect Tool</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:icon>https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</blti:icon>
    <blti:custom>
        <lticm:property name="new_tab">1</lticm:property>
        <lticm:property name="url">
            <!-- URL you want to link out to-->
        </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>
            <!-- This line is what hides it from students -->
            <lticm:property name="visibility">admins</lticm:property>
        </lticm:options>
        <lticm:property name="icon_url">https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</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>

 

Then copy/paste from your editor into the LTI XML configuration box per the instructions.