Alfresco Script Root Objects
by Angel Borroy
Community
Repository JAR that exposes multiple JavaScript Root Objects for Alfresco Content Services, enabling safe access to system properties, Base64 encoding, modern renditions, and Hyland Automate process integration from repository scripts.
About
A single JAR that adds these root objects to Alfresco Repo JavaScript (rules, web scripts, workflows):
| Root Object | Purpose |
|---|---|
sysAdmin | Safe access to selected SysAdminParams methods |
globalProperties | Read values from alfresco-global.properties |
packagesScript | Controlled escape-hatch to inspect Spring context and class methods |
base64 | Streamed Base64 encode/decode for content and bytes |
renditionService2 | Exposes the missing renditionService2 root object for modern renditions |
hylandProcess | Start Hyland Automate processes via OAuth2-secured REST |
Deploy as a Docker overlay or copy JAR to WEB-INF/lib.