< class="prominent-subhead ">

"This content cannot be displayed in a frame" appears when trying to access the Script Editor Web part via SharePoint online

~~repeating-content.html~~
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

When logging in with K2 Trust for Azure AD on SharePoint online via the Script Editor web part, the worklist will display "This content cannot be displayed in a frame" after logon.

Image

Image

Symptoms

The Script Editor web part will not be available for any users to action tasks.

Resolution

To correct this issue you will need to determine what Authentication is required.

Option 1
It is expected to see this error in the Script editor web part if you are not logged in with SharePoint Credentials, so you need to sign out properly from SharePoint Online.

Image

Option 2
It is recommended that the K2 Smart Form Viewer web part be used as this is integrated with K2 Authentication.

Image