cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Page Viewer Control - not displaying Office 365 files

Jump to solution

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

Labels: (1)
Reply
8 Replies
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

I am also experiencing this problem, any solution for this? 

0 Kudos
Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

I think Microsoft doesn't allow SharePoint pages (or documents) to display in iframe. 

Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

Okay, Any other way that i can view a document on the form?

Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

Hi

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

Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

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 :

https://XXXX.sharepoint.com/sites/XXXX/_layouts/15/WopiFrame.aspx?sourcedoc=%7BD5B8DD00-CEA7-45DB-AF...

Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

‌ do you find any answer as the solution for your question so that you could mark it as "Correct"?

Regards,

Tomasz

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Page Viewer Control - not displaying Office 365 files

Jump to solution

Hi Dude,

Please have a look at this from Microsoft . Office 365 SharePoint Online - Page Viewer Web Part Not Working - Microsoft Community  

Regards 

Bashya Rajan A

0 Kudos
Reply