Migration of form with Page Viewer to Nintex Cloud getting Frame refusal error

  • 10 May 2022
  • 1 reply
  • 98 views

Badge

Good morning,

We have migrated a Nintex form from  Nintex on-prem to Nintex Cloud.   The form has a page viewer control.  After updating the URL  in the page viewer (The URL links to a SharePoint list on the same site in SharePoint online), We get a message "refused to connect". (see attached screen shot).  When debugging the page, we get this error: 

 

Refused to frame 'https://ncstage.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com".

and additionally a message later in the page:

 

Uncaught DOMException: Blocked a frame with origin "https://formso365.nintex.com" from accessing a cross-origin frame

 

Sounds like a trust issue between our 365 domain the Nintex domain, but wondering if any of your other clients have seen this and if there's a quick resolution.

 

Thanks! 

Troy


1 reply

This is a security feature in SharePoint.  I found a few articles on the topic you can use to further investigate:


Can't display SharePoint pages in iFrame - SharePoint | Microsoft Docs


Cross-domain iframe requests are blocked in SharePoint Online - SharePoint | Microsoft Docs

Reply