cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
s_greathouse
Community Participant

Direct File Download on Content Page

Ahoy,

I need to be able to force a direct download of a file on a Canvas content page without it sending them to a different page first. It's very important 1) not to have them navigate away from this page, even if it does open in a new window; 2) ensure they have a local copy. I don't care about them being able to preview on the page or not (i.e. I know where that feature is).

The solution to force the download that I found in the community said to delete the "?wrap=1" in the html. This didn't work for me.

Cheers.

Labels (1)
Tags (2)
0 Kudos
3 Replies
klundstrum
Community Coach
Community Coach

While I don't have an immediate solution to offer, the behavior you'd like to fix is a known issue. Watch the Document links embedded using the new RCE don't download for updates.

SaraMoeller
Community Member

Hello

I agree that it would be very nice if we could somehow force a direct download when relevant.

Best wishes

Sara

werner_huysman1
Community Participant

Hi,

you could achieve this in the html with a link of this format this: https://school.com/courses/11060/files/1796109/download, combined with target="_top".