You are here

Root objects available in repository tier web scripts

This information lists root objects additionally available when scripts are running in the repository tier context. These objects provide access to repository services.
Root Object Type in Script Runtime Description
roothome Object The repository root node (only available if access is authenticated)
companyhome Object The company home folder object (only available if access is authenticated)
person Object The person node of the currently authenticated user (only available if user is authenticated)
userhome Object The user home folder (only available if access is authenticated)
search Object A host object providing access to Lucene (Solr) and Saved Search results. See the Search API.
people Object A host object providing access to people and groups. See the People API.
actions Object A host object providing invocation of registered Actions. See the Actions API.
session Object Session related information such as the current authentication ticket. See the Session API.
classification Object Access to the root elements of the Classification API. See the Classification API.
utils Object Access to a library of useful helper functions not provided as part of generic JavaScript. See the Utility methods.
workflow Object Start workflows and access them, control in-progress workflows. See the Workflow API.
Note: A full list of root objects is available in the root objects section of the JavaScript API Reference.