Summary

In this chapter, we have gone through all the possible functionalities that you can do inside your JavaScript controller for a web script using the available JavaScript APIs. We gained knowledge about how to identify the JavaScript APIs from the Alfresco codebase. We also went through the list of common root objects exposing the JavaScript APIs we found from the Alfresco codebase.

Next, we went through various other root objects provided by the web script framework in Alfresco. Later, we saw some code examples so you understand how to use root objects and the relevant JavaScript API inside the controller to do some generic operations on a node in Alfresco. At the end, you learned how to create a custom JavaScript extension to create your ...

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.