How do I make a LTI External Tool link on a Page open in a new window?

Jump to solution
juliann_cavende
Community Novice

We have an External Tool from one of our vendors configured in Canvas. In trying to use the "embed URL" function of this tool in Pages, I can't figure out the correct post parameters to input so the link will open in a new window/tab instead of the Canvas iframe (see screenshot below).

Any suggestions on what post parameters to use which would allow this to happen? I've tried the following:

"target=_blank"

"windowTarget=_blank"

"launch_type=window"

"launch_presentation_document_target=window"

"display=borderless"

Since I can use the tool in Modules, I used the External Tool to embed a URL there and looked at the parameters being sent (based on what I read here: https://canvas.instructure.com/courses/913512/pages/lti-launch-parameters). I tried those in Pages, but the URL will only open within Canvas iframe. This is not a user-friendly view for students.

I'm not a developer, so what am I missing here? Please and thank you!Image of LTI tool to embed URL

Labels (1)
1 Solution

This is where I would try display=borderless. I'm shooting mostly in the dark, not having anything to test this with easily.

I would add it to the href, right after the ? and before the url=. Since it's now more than one parameter, you'll have to add an ampersand after it.

Here's a fragment.

... external_tools/retrieve?display=borderless&url=https ...

By the way, there's nothing special about adding it first, just that it's easier to find in that really long link. I don't know if you need it on the data-api-endpoint as well, but if it doesn't work the first time, then I would add it in that location as well.

View solution in original post