This is a Lightning web component based on PDF.js library to render a PDF document (an unencoded string representation of the PDF blob) inside an iframe.
Hi Sonal, I have tried to implement this in a record page, content is displaying, but i couldn't adjust the height and width of the pdf viewer. How can we adjust the size of the component to fix on the right side of detail page
Are you hard coding a pdf file uploaded on Salesforce and then displaying it inside the Iframe?
ReplyDeleteIf so, then what's the point?
If not, then can you please expand on this functionality?
Thanks
There is a difference between PDF reader and PDF creator.
DeleteHi Sonal,
ReplyDeleteThank you very much for this post, really helped a lot.
Hi Sonal,
ReplyDeleteI have tried to implement this in a record page, content is displaying, but i couldn't adjust the height and width of the pdf viewer.
How can we adjust the size of the component to fix on the right side of detail page
Hey, i am unable to use this same code with the latest PDF.js release. is this not supported with newer versions ?
ReplyDeletehi, is this working also in community portal?
ReplyDelete