AnsweredAssumed Answered

Can I change titile="Tool Content" to some my custom own text in iframe?

Question asked by DP Bhatt on Mar 15, 2019
Latest reply on Mar 15, 2019 by James Jones

I have developed a Canvas LTI tool and successfuly configured for course_navigation using the following XML cartridge.

 

<?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_v1p0.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>ltiDemo</blti:title>
<blti:description>Demo app to illustrate how to launch an LTI application in Canvas</blti:description>
<blti:icon></blti:icon>
<blti:launch_url>https://192.168.1.110/</blti:launch_url>
<blti:vendor>
<lticp:code>abc.com</lticp:code>
<lticp:name>abc.com</lticp:name>
<lticp:description>This is a vendor of accessibility tools.</lticp:description>
<lticp:url>http://www.abc.com/</lticp:url>
<lticp:contact>
<lticp:email>abc@abc.com</lticp:email>
</lticp:contact>
</blti:vendor>
<blti:extensions platform="canvas.instructure.com">
<lticm:property name="tool_id">lti-1F216679-0937-4891-DCA3-F1DS4E0FF2EA</lticm:property>
<lticm:property name="privacy_level">public</lticm:property>
<lticm:property name="domain">192.168.1.110</lticm:property>
<lticm:options name="course_navigation">
<lticm:property name="url">https://192.168.1.110/</lticm:property>
<lticm:property name="text">ltiDemo</lticm:property>
<lticm:property name="visibility">public</lticm:property>
<lticm:property name="default">enabled</lticm:property>
<lticm:property name="enabled">true</lticm:property>
</lticm:options>
</blti:extensions>
<cartridge_bundle identifierref="MNTI101_Bundle"/>
<cartridge_icon identifierref="MNTI101_Icon"/>
</cartridge_basiclti_link>

 

Once I have launched the tool in Canvas course shell, the tool is loaded in an iframe as below.

 

<iframe src="about:blank" name="tool_content" id="tool_content" class="tool_launch" allowfullscreen="allowfullscreen" webkitallowfullscreen="true" mozallowfullscreen="true" tabindex="0" title="Tool Content" style="height:100%;width:100%;" allow="geolocation *; microphone *; camera *; midi *; encrypted-media *">

 

#my tool appeared here ...

 

</iframe>

 

I have a question at the moment. Can I change the titile="Tool Content" to some my custom own text?

Thanks!

Outcomes