This section 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 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 SkyVault 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. |
| avm | Object | Access to WCM objects such as AVM paths and searching within AVM stores and web projects. See the AVM API. |
| crossRepoCopy | Object | Cross repository copy support. See Cross Repository Copy. |
| 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.