We recently upgraded to Sitecore 9 and noticed that our PDF links are now downloading rather than opening in a new tab. I have tried changing the forceDownload in the the Sitecore.config to false, and I also uncommented the PDF line in the mime config file. My changes are being reflected in the show config, but the PDF is still being downloaded. Does anyone have any ideas why this would be the case?

  • What do you mean with "uploading"? I cannot imagine that you had a site that uploaded a pdf file by clicking a link... – Gatogordo Mar 20 '20 at 15:23
  • 1
    The Sitecore media cache is stored on disk and is valid for 90 days. If anyone has recently accessed these media items, they will not reflect the config changes. Delete the MediaCache folder in the Website directory. – x3mxray Mar 20 '20 at 16:44
  • Sorry I meant to say rather than opening a new tab. I was really tired when I posted this question. – Olivia Shettles Mar 20 '20 at 18:33
  • 1
    Can you confirm that the same issue happens on more than one desktop browser? apemobile.zendesk.com/hc/en-us/articles/… – Michael West Mar 20 '20 at 18:47
  • Yes, it's happening on every desktop browser that I have tested. – Olivia Shettles Mar 23 '20 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.