When I am importing a common cartridge then it is importing successfully and working fine. But, the issue is assignments are not loading in a new tab of the browser. I had to edit all assignments and check the checkbox of "Load in new tab" for loading in a new tab.
I am using below XML for creating an assignment using Common Cartridge. What should I add in below XML so assignments load in a new tab instead of iFrame?
<?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>Chapter 1 Quiz</blti:title>
<blti:launch_url>https://www.domain.com/lti.php</blti:launch_url>
<blti:secure_launch_url>https://www.domain.com/lti.php</blti:secure_launch_url>
<blti:vendor>
<lticp:code>uc</lticp:code>
<lticp:name>uc</lticp:name>
</blti:vendor>
</cartridge_basiclti_link>
Please help.
Maybe try adding something like:
<blti:extensions platform="canvas.instructure.com">
<lticm:options name="course_navigation">
<lticm:property name="enabled">true</lticm:property>
<lticm:property name="windowTarget">_blank</lticm:property>
</lticm:options>
</blti:extensions>
See "Launch in new tab" at Importing Extended Tool Configurations - Canvas LMS REST API Documentation
Also, note that any of the values at External Tools - Canvas LMS REST API Documentation can be mapped into the XML.
Thanks for reply.
If I use above XML, It will start showing in canvas course navigation tab.
I was just trying to point out the general directions/place to look.
Instead of course_navigation, it might be something like assignment_view.
The assignments API does this with new_tab=true as the external tool attribute. So you might also want to try this instead of windowTarget.
Hi! I wanted to take a minute to check-in. It's been about six months since there has last been activity in this discussion. How are things going? It would be great to hear an update!