I have 17 file attachments that will be merged into one pdf, It works if filesize is not large. I cant view the pdf but able to download.
It gives me this error (please see attachment below)
The code behind this component for pdf preview is
"https://docs.google.com/gview?embedded=true&url=" + Location + "' width='" + Width + "' height='" + Height + "'" inside an iframe.
Please check if you could preview https://docs.google.com/gview?embedded=true&url=URLOFPDFfile in a browser. If this is not loading then this component also will not work.
Please see if this component works for you. Its using a different implementation.