In a PDF file, I have inserted a link to a collabora document. When I click on this link in the PDF file, a new tab opens in chrome but the document doesnât load (white screen with loader - see capture)
I use the jqueryfiles on my own domain, if you meant them on collabora and it didnât work either in firefox or chrome.
Interestingly if you open the pdf in an external app it works.
I was thinking : is there an alternative to the default behaviour when it comes to PDF document opening ? Apparently, the issue is due to the fact that the PDF file is opened in an iframe. Is there a way to force the PDF files to open in a new tab or even in default desktop PDF reader (as the links work fine in these cases) ?
This feature is really important to us. Thanks a lot for your help.
Thank for this suggestion. However we have a lot of users, unfortunalety we wanât ask everyone to change his browser configuration. Other idea : would it be possible to change the nextcloud configuration so it downloads the PDF file when we click on it the âFilesâ section ?
Thanks again.
perhaps it might work if you change the mimetype of .pdf in the .htaccess, so the browser doesnât recognize it anymore correctly and you get a download window.
But donât forget to disable the pdf app in your nextcloud, if you enabled it.