Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Guide below is only applicable for Report Builder version higher than 1.3.42-AC (Cloud) and 4.11.2 (DC).

Starting from versions mentioned, Report Builder uses secure wrappers for "Window.AP" (Cloud) and "AJS" (DC) methods. Therefore, existing methods need to be updated. Additionally, some of the methods in the Scripted Reports API have become asynchronous, requiring them to be complemented with the "await" statement.

Introduction

We are excited to announce enhancements to the security of Scripted Reports. To improve security, reports now run in an isolated context (iframe) effectively disabling the allow-same-origin policy. While this significantly enhances security, it also introduces some changes to how scripts interact with the environment.

...