You are here

Repository JavaScript API

The Repository JavaScript API lets you develop JavaScript (ECMAScript) 1.6 compatible files to access, modify, and create Alfresco repository objects such as nodes, aspects, and properties.

Use the JavaScript API for JavaScript that executes in the Alfresco web client and 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
  • Process WCM web projects and AVM objects
  • 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