Root objects
The JavaScript API provides a number of root objects which are available from your JavaScript code.
The root objects available to your JavaScript code will depend on the context in which the code is invoked. Different contexts will have access to a different set of root objects. There are several contexts to be considered:
The root objects available to your JavaScript code will depend on the context in which the code is invoked. Different contexts will have access to a different set of root objects. There are several contexts to be considered:
- Web scripts
- Surf
- Rules/actions
- Workflow
- Explorer
- Root objects that expose ScriptNode objects
- companyhome
- document
- person
- roothome
- script
- space
- userhome
- Root objects also available in web scripts
- args
- argsM
- headers
- session
- url
- Root objects that expose additional APIs (frequently used)
- actions
- activities
- cmis
- cmisServer
- people
- search
- logger
- jsonUtils
- session
- paging
- imap
- workflow
- Root Objects that expose services
- actionTrackingService
- atom
- commentService
- groups
- preferenceService
- renditionService
- replicationService
- siteService
- transfer
- companyhome
- document
- person
- roothome
- script
- space
- userhome
- args
- argsM
- headers
- session
- url
- actions
- activities
- cmis
- cmisServer
- people
- search
- logger
- jsonUtils
- session
- paging
- imap
- workflow
- actionTrackingService
- atom
- commentService
- groups
- preferenceService
- renditionService
- replicationService
- siteService
- transfer
Comments
Post a Comment