How can I upload and embed a PDF document in a single column web-part, in Sharepoint Online? Thanks
2 Answers
You can use Page Viewer webpart in SharePoint Online for this purpose.
Steps:
- Upload the PDF document in any library and copy its URL.
- In your SharePoint page, add a Page viewer webpart as Media and Content > Page Viewer
- Edit the webpart and add the copied link in Step 1.
Now you will be able to view the embedded PDF as shown below.
There is a different method as well that uses the embed tag.
- In your page, add a content editor webpart
Add the below code to embed the PDF
<object> <embed type="application/pdf" src="thesamePDFlocation.PDF" ></embed> </object>
-
I didn't like the Page Viewer web part, as it gave options for people to download the PDF. I wanted people to view it only, as if it were an image, so I did the embed tag. Thanks! Commented May 1, 2019 at 2:18
Yes, You can - use "File viewer" web part. Here are two good articles ( first and second ) on how to use and configure it.