Chapter 7. Understanding JavaScript-based Web Scripts in Detail

In this chapter, we will cover the following topics:

  • What can you do with JavaScript APIs?
  • How do you find available JavaScript APIs in Alfresco?
  • Available root objects to access JavaScript APIs
  • Other root objects provided by the web script framework in Alfresco
  • A few code examples of some common functionalities in a JavaScript controller
  • Creating your own root object

The web script framework in Alfresco makes it easy to create, access, update, and delete content residing in the repository using JavaScript-backed web scripts. The JavaScript-backed web script will be very helpful when you need to do some kind of hotfixes without bringing down the production system. Another cool feature of ...

Get Learning Alfresco Web Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.