-
Book Overview & Buying
-
Table Of Contents
Alfresco Developer Guide
As you learned in examples throughout the book, JavaScript is used in several different places across the Alfresco platform, particularly as one option for controller logic in web scripts. This section starts with a listing of the out of the box root JavaScript objects available to all scripts (except where noted), and then provides details for the rest of the JavaScript API.
The root objects available to your scripts are either utility objects or entry points into different areas of the JavaScript API. This section lists the root objects available and notes where further APIs exist. API details are provided in the next section, "JavaScript API".
|
Root Object |
Description |
|---|---|
|
|
Entry point into the Actions API. Used to retrieve the list of actions configured in the repository or as a factory to retrieve an instance of an action. |
|
|
Available when the script is run as a web script controller. Contains the arguments passed to the script. |
|
|
Entry point into... |
Change the font size
Change margin width
Change background colour