The CreatorCon Call for Content is officially open! Get started here.

[UI Builder and Service Operations Workspace] iFrame component content loading issue

ngtiendat
Tera Contributor

Hi All,

 

We configured viewport with only an iFrame component on the contextual sidebar in the Service Operations Workspace. The iFrame is configured so that it references our own created portal page and has the Disable sandbox checked.

 

The issue we are facing is that sometimes the content of the portal page loads and sometimes it doesn't and only loads after many reloads of the whole page. 

 

One thing we noticed is that in the browser's developer console there are some error messages:

  1. Unsafe attempt to initiate navigation for frame with URL "URL_of_the_workspace/record/sysID>" from frame with URL "<URL_of_the_portal_page/record/sysID>". The frame attempting navigation of the top-level window is sandboxed, but the flag of "allow-top-navigation" or "allow-top-navigation-by-user-activation'' is not set 
  2. Uncaught DOMException: Failed to set the 'href' property on 'Location': The current window does not have permission to navigate the target frame to "<URL_of_the_portal_pate/record/sysID>" at "<URL_of_the_portal_pate/record/sysID>"

These errors show regardless of the content of the portal page being loaded or not.

 

Does anyone has any idea what the problem might be?

Any suggestions will be greatly appreciated 

 

@Brad Tilton 

#uibuilder

1 REPLY 1

dylandias
Tera Contributor

Have you ever found a solution?

I Got the same issue