Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!

 

Rapport bogue: Chrome engine / opening pdf files

Reproduction

Try to open pdf file in SK Chrome engine, it gets opened via internal pdf viewer, not external app.

Description

Hello,
right now we use Chrome engine for one of our customers.
When he opens a pdf file from web (for example pdf http://www.africau.edu/images/default/sample.pdf ), the pdf file is automatically opened inside the browser (in the SK's Chrome), which we do not want. We need to use external app for that (Adobe Acrobat Reader DC), which is allowed in SK config.

So what we need is to trigger "download" of the file, instead of automatically opening it in the browser.
I know that in the SK's Chrome Customize menu I can select various file actions (and force pdf to open externally), but the problem is that these do not trigger, unless the "download" is triggered.

Would it be possible to instruct SK's "internal Chrome engine" to download (open externally) those files?
It is possible in Chrome itself via GPO/registry ( https://getadmx.com/?Category=Chrome&Policy=Google.Policies.Chrome::AlwaysOpenPdfExternally ), but setting this does not seem to work on the Sitekiosk engine, just the Standard chrome browser app. No difference also when setting default apps in W10 for pdf files.

Réponse: (1)

Re: Chrome engine / opening pdf files 27/10/2020 14:09
Hello,

This is not a bug but a dedicated behavior.
If the web server does not explicitly deliver the PDF as a download (e.g. like this https://stackoverflow.com/questions/364946/how-to-make-pdf-file-downloadable-in-html-link), the linked PDF file will be opened in the SiteKiosk browser.

But you can use this command line switch to disable the PDF plugin in Chrome Browser skin:

disable-pdf-extension

Here the information how to add command line switches:
https://devblog.provisio.com/post/2016/09/19/Starting-SiteKiosk-Windows-with-Chrome-Command-Line-Switches.aspx

Regards,
Michael Olbrich