O'Reilly logo

Alfresco 3 Web Content Management by Vinita Choudhary, Pallika Majmudar, Amita Bhandari, Munwar Shariff

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 methods for the AVM repository

Each of these root objects has different APIs. For more details on this, you can refer to the Alfresco wiki's JavaScript API page at http://wiki.alfresco.com/wiki/3.2_JavaScript_API and see some examples at http://wiki.alfresco.com/wiki/JavaScript_API_Cookbook. In the next section, we will talk about FreeMarker APIs that are available for the AVM repository.

AVM API

avm is the root object for JavaScript APIs, and with this root object you can access the AVM repository. The available APIs for the avm root node are as follows:

  • stores: This returns all store objects in the AVM repository
  • lookupStore(storeid): This returns the store object for the specified store ID
  • lookupStoreRoot(storeid): This returns 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