cancel
Showing results for 
Search instead for 
Did you mean: 

Actions in freemarker templates

tyve
Champ in-the-making
Champ in-the-making
It's easy to list spaces and contents with freemarker templates but how to I add actions like check-out, check-in?
1 REPLY 1

mikeh
Star Contributor
Star Contributor
Hi,

Depending which version you're on please see:
http://wiki.alfresco.com/wiki/JavaScript_API#Checkin.2FCheckout_API
or
http://wiki.alfresco.com/wiki/JavaScript_API_For_Alfresco_1.4_and_2.0#Checkin.2FCheckout_API

If you're using v2.1 you can also find an example in the docActions.get.js script which is part of the Office add-in.

Thanks,
Mike