JavaScript API

Use the JavaScript API for web scripts that execute JavaScript in the repository.

You can use scripts to perform the following functions:

Find nodes

Perform searches

Walk node hierarchies

Modify the value of properties, aspects, and associations

Transform and manipulate content

Create groups, people, and modify permissions

Create new files, folders, or nodes

Copy, move, and delete nodes

Create, modify, and remove child and target associations between nodes

Include or import other scripts

About script files
Script files are generally located either on the classpath (for example, ./tomcat/shared/classes/alfresco/extension/templates/webscripts), or in a repository store (for example, the default repository in Company Home/Data Dictionary/Scripts)

Root objects
The JavaScript API provides a number of root objects which are available from your JavaScript code.

Scripting API
The JavaScript API provides a rich set of scriptable Java objects.

Services API
The Alfresco JavaScript Services API provides an interface to core services that can be accessed from web scripts.

You don't appear to have JavaScript enabled in your browser. With
JavaScript enabled, you can provide feedback to us using our simple form.
Here are some instructions
on how to enable JavaScript in your web browser.