cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Opening LTI in new tab: Javascript?

Jump to solution

Hey,

I'm currently setting up an Ares LTI (course reserves) in Canvas and am wondering if there is a way to force it to open in a new tab instead of the frame. Apparently the tool has some links that will produce errors when accessed from a frame.

It's not an issue in our Blackboard LMS since we can choose how to open the LTI.  While it might be possible to set it up as an external tool in a module and check the box for 'open link in new tab,' the goal is to have it in the course navigation.

I was trying to tackle the issue with javascript by using $("[href*='/external_tools/92']").prop('target', '_blank');,  but it opens a new tab with the LTI loaded inside of canvas. Does anyone have any idea how to force the tool to open in a new tab?

Thanks!

1 Solution

Accepted Solutions

It's a month late but I wanted to follow up in case anyone stumbles on this later. The Redirect Tool wasn't an option for me because it didn't retransmit the necessary parameters to the LTI I was trying to launch. However, the original issue of external links not loading correctly in the iFrame was the fault of the Ares version/configuration. Once they fix it on their end it will work fine without needing to launch a new tab.

View solution in original post

4 Replies
Community Team
Community Team

haynes.chewning@emory.edu​, this might well be a question for the Canvas Developers​, so I've shared this with them.

Community Coach
Community Coach

Hi haynes.chewning@emory.edu

Have you tried using the Redirect Tool Edu App Center to create your course navigation link? With this tool you have the option to force it to open in a new tab. See screenshot below, and note first check-box............

186583_pastedImage_0.png

I hope this helps,

KLM

It's a month late but I wanted to follow up in case anyone stumbles on this later. The Redirect Tool wasn't an option for me because it didn't retransmit the necessary parameters to the LTI I was trying to launch. However, the original issue of external links not loading correctly in the iFrame was the fault of the Ares version/configuration. Once they fix it on their end it will work fine without needing to launch a new tab.

View solution in original post

Hey Haynes, this is great to know! Thanks for updating us!

KLM