Jul 11 2023 06:57 PM - edited Jul 11 2023 06:58 PM
Struggling to insert the value acceptable to the Page Viewer web part Link property. It's a PDF in Site Assets doc lib, and that PDF may be switched in and out or otherwise updated and overwritten by drags and drops and other things.
The instructions say there is a Browse function that can be "select"ed, but I don't see it in the Page Viewer property panel where Link is. I prefer to use this rather than a Script Editor web part, because users not advanced who may maintain it and change documents don't want to struggle inserting iframe elements and understanding what UniqueId attributes are and how to get them and maintain them. I am creating an app for "updating" these snippets, but this app may break, and they are not advanced users. I want them to manipulate the web part with minimal understanding and effort
Jul 12 2023 03:01 AM
@Steve_Penner Which version of SharePoint are you using?
If you are using SharePoint online modern experience, you can use the File and Media web part and provide file URL in this format:
https://<tenant>.sharepoint.com/sites/<siteName>/<libraryName>/MyWordDocument.docx
Use this URL in the web part. Next time when you edit the file locally on your system, you can upload the file with same name and replace it in your document library so that it will work without any issue.
You can get the URL for your document from details pane like this:
For details steps, check my answer at: How can I show a sub folder from another SharePoint site?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.