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

FreeMarker methods for the AVM repository

Each of these root objects has different APIs. For more detail on this you can refer Alfresco wiki's Template Guide page at http://wiki.alfresco.com/wiki/Template_Guide and see some examples at http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook. In this section, we will talk about the FreeMarker APIs available for the AVM repository.

AVM API

As stated earlier, avm is the root object for FreeMarker templates; with this root object, you can access the AVM repository. The available APIs for an 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