Skip to main content
Hi, I built a Lightning Web Component that opens pdf's as modals.  The component works; however, when I move it to a community page the PDF's don't seem to open. 

Any help would be greatly appreciated. Thanks
1 answer
  1. Oct 1, 2019, 6:24 AM
    Hi,

    Greetings to you!

    Please refer to the below links which might help you further with the above issue.

    https://salesforce.stackexchange.com/questions/256561/lwc-download-pdf-file

    https://developer.salesforce.com/blogs/2019/07/display-pdf-files-with-lightning-web-components.html

    I hope it helps you.

    Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

    Thanks and Regards,

    Khan Anas
0/9000