Web Edit Mode Not Working When Setting Xcelerate.previewhost to a Host Other Than Sites

(Doc ID 2331410.1)

Last updated on NOVEMBER 28, 2017

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Web edit mode not working due to "Uncaught DOMException: Blocked a frame with origin "{host-name}" from accessing a cross-origin frame.

When attempting to load an asset in Web edit mode, the following behavior is observed:

 - In green bar under the Edit bar: "You seem to have navigated to an external site. Refresh the current tab to go back to..."
 - In the web browser console: "Uncaught DOMException: Blocked a frame with origin "{host-name}" from accessing a cross-origin frame.
  at Object.connectToWindow ({host-name}/sites/js/fw/fw_ui.js:2:944545)
  at Object. ({host-name}/sites/js/fw/fw_ui.js:2:945038)
  at HTMLIFrameElement. ({host-name}/sites/js/dojo/dojo.js:15:111069)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms