I cannot get the Page Viewer control to work. I've tried Word and PDF files saved to Office 365. I've even tried granting public access to the file.
The error I get is this:
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
What you can try:
Open this content in a new window this link works to open the file in a new tab
Solved! Go to Solution.
I also had this requirement come up when working on a recent multi state approval workflow. I wanted the guarantee that the document would open in the browser, regardless of which office version ( 2010 , 2013 ) the user had installed.
My approach was build a link variable for a approval tasks and any emails then use the the native Office Online document preview.
Hope this helps
To embed the document inside the page viewer of a Nintex Forms, you have to add “&action=embedview&Embed=1” at the end of the URL, else it wouldn’t work!
So the Source parameter will look like this :
Hi that is handy to know should I need to embed a link in a form - in my case I didn't need the last &action=embedview&Embed=1. Out of interest, I wonder if there is a Form control to list the documents in another document library whilst invoking a Form on another list. Maybe create link via a calc field as per the format you suggested above.
Please have a look at this from Microsoft . Office 365 SharePoint Online - Page Viewer Web Part Not Working - Microsoft Community
Bashya Rajan A