cancel
Showing results for 
Search instead for 
Did you mean: 

Display PDF in My Inbox from DMS

andreeav
Explorer

I am trying to display a PDF from Document Management System using PDFViewer.

The PDF file is succesfully retrieved from DMS, but it cannot be previewed in the app and I get "PDF file could not be displayed."

  • I get "Error: Underlying iframe was not found in DOM. - " and the following :

  • I tried adding in index.html :
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; frame-src * blob:;">
  • The domain is added in "iframeDomains" and in Trusted Domain in BTP.

  • Also used URLWhitelist :

What could be causing this issue?

View Entire Topic
kasch-code
Participant
0 Kudos

I just had the same problem with one of my users, while for all others the embedded PDF display was just working fine.

It turned out, that the setting "Always download PDF files" in the Edge browser needs to be inactive.
I only have a screenshot in German, but you should be able to find the setting under the "Site permissions":

Maybe this helps to resolve your issues, too.