You are here

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 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