Skip to main content
Nintex Community Menu Bar
Solved

Page Viewer Control - not displaying Office 365 files

  • July 20, 2016
  • 8 replies
  • 117 views

Forum|alt.badge.img+2

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

Best answer by alexjolynintex

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-AF5A-8BF331DCCA3E%7D&action=embedview&Embed=1

8 replies

Forum|alt.badge.img+3
  • 12 replies
  • September 28, 2016

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


Forum|alt.badge.img+7
  • 95 replies
  • September 28, 2016

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


Forum|alt.badge.img+3
  • 12 replies
  • September 28, 2016

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


Forum|alt.badge.img+9
  • 84 replies
  • October 10, 2016

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


alexjolynintex
Forum|alt.badge.img+6
  • Scholar
  • 62 replies
  • Answer
  • December 14, 2016

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-AF5A-8BF331DCCA3E%7D&action=embedview&Embed=1


TomaszPoszytek
Forum|alt.badge.img+17

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

Regards,

Tomasz


Forum|alt.badge.img+9
  • 84 replies
  • February 8, 2017

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.


Forum|alt.badge.img+6
  • 83 replies
  • February 14, 2017

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