Totara Learn Open Discussions

Controlling how pdf's open

 
Tom Concannon
Controlling how pdf's open
by Tom Concannon - Tuesday, 19 January 2021, 10:40 AM
 

We are in the process of moving from an old Totara site (2.9.51) to v13.

During testing one feature really bugged me. We still have some pdf content. In the previous version they open straight away within the browser (Chrome). Appearance was set to "Automatic". 

When we migrated the courses to the new test site it forces download every time whether I have the appearance set to  "open", new window , embed, pop-up etc. This makes the user experience really bad and shared  computers are going to end up with multiple copies of learning documents downloads in random folders.

Anyone got any advice for me on creating a good user experience with pdf content.

Our Totara partner say it's to do with browser settings but I have hte two sites open in the same browser.

Thanks in advance


Craig Eves
Re: Controlling how pdf's open
by Craig Eves (Totara Support) - Tuesday, 19 January 2021, 2:52 PM
Group Totara

Hi Tom

PDFs opening via download is default behaviour in Totara 13, no matter what a file resource's setting is. This is because PDF display is a known security risk in some browsers.

For a file activity, to reenable the ability to embed a PDF or have it open in the browser, go to Site administration > Plugins > Activity modules > File and tick the 'Allow PDF embedding' checkbox.

Regards



Tom Concannon
Re: Controlling how pdf's open
by Tom Concannon - Thursday, 21 January 2021, 3:39 AM
 

Thanks so much Craig,

That's working perfectly again.