Changes from 10.0 SR28 to 10.2025.10.0
This chapter describes how the constants and methods for report scripts have changed between the ARIS versions 10.0 SR28 and 10.2025.10.0.
The deprecated methods should no longer be used. They will be replaced by more appropriate functions. For a description of the added methods please refer to the ARIS Script help.
Starting with ARIS 10 SR 28, for security reasons, access to internal Java classes is restricted by an allowlist that permits only a fixed set of Java classes to be used in report scripts. Functionalities have been bundled into a set of new APIs provided by the new global Utilities object and its associated interfaces.
As of SR 28, ARIS report scripts are by default no longer allowed to access random Java classes or user-defined JARs for security reasons.
For on-premises installations, and only if a customer explicitly requires re-enabling this access, the following switches must be set to the values below using the ARIS Server Administrator tool:
abs.report.applyPreviewOfCloudClassAccessInScripts=false
abs.report.allowGenericClassAccessInScripts=true
Because the use of java.io.File is no longer permitted due to its unrestricted access to the server's file system, it has been replaced by a report-provided File object (see script help). This object provides access to files in the temporary report folder (that is, the folder containing the file results that will be transferred to a client) as well as network shares:
The entry points are Context.getReportOutputFolder(), Context.getCreatedFiles(), Output.getCurrentPath() for the temporary output folder structure, and Utilities.getNetUtils().createNetworkFile(). File objects can also be used in functions of ZipUtils (Utilities.getZipUtils()) and IOUtils (Utilities.getIOUtils()).
The Utilities object itself provides methods to
convert localeId and locale strings to Java locale
create new GUIDs
get the specific GUID of the entire method
perform Base64 encoding
get specialized APIs to
handle CSV files
work with images
perform various file/content/copy operations similar to IOUtils library class
send eMails
access network resources (network share, REST calls, sftp access)
XML utility for XSLT transformation and HTML document access
work with ZIP archives