Web Viewer Content Security Policy (CSP) Emulation

From R2023x GA, the introduction of the Content Security Policy (CSP) emulation execution mode impacts your formerly and newly created 2D and 3D web viewers.

See Also
2D Web Viewer Properties
3D Web Viewer Properties

From R2023x GA, you can use the Execution Mode property for your newly created 2D and 3D web viewers.

Any web viewer that you create now has the Content Security Policy (CSP) emulation execution mode by default, but you can also select the Legacy execution mode.

The use of the executeScript() method causes an error in the Creative Experience desktop app when using the Content Security Policy (CSP) emulation execution mode. From R2023x GA, the method to communicate with newly created web viewers is through sending messages (using JavaScript or Natural Language APIs). For more information, see the JavaScript API guide of Creative Experience (Getting Started > Embedded Web Page) and the Associated Capacities of web viewers.

For experiences that contain web viewers created before R2023x GA, a message indicates that you have an older or deprecated version of these web viewer actors. These web viewers have the Legacy execution mode behavior by default. However, you cannot change this mode because they do not have the Execution Mode property and they might not be compatible with the Content Security Policy (CSP) emulation execution mode.

To get the latest version of the web viewers with the Execution Mode property and the Content Security Policy (CSP) emulation execution mode, recreate your web viewers and reset their properties.

You can still use the executeScript() method with formerly created web viewers.