O'Reilly logo

Learning Alfresco Web Scripts by Ramesh Chauhan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript APIs in Alfresco

As a developer, you must always be interested in debugging through the code in order to get an understanding of its workings instead of directly having the list of APIs and simply using it. So, here we are going to take a look at how to identify JavaScript APIs in Alfresco. Now, let's find the available JavaScript APIs provided by Alfresco that we can use in a JavaScript controller while developing web scripts.

Identifying JavaScript APIs

In the Alfresco code base, the simplest way to identify any JavaScript API is through the bean definition, where it will have the parent specified as baseJavaScriptExtension. The way the bean entry works is—any JavaScript API can be accessed through the root object defined for it. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required