I know that I can place my custom presentation templates in the repository in Data Dictionary/Presentation Templates, but I would prefer putting it in the classpath. As far as the Alfresco wiki is concerned this is supposed to be possible, but it doesn't say where in the classpath I should put the templates.
I've tried putting them in <tomcat>/shared/classes/alfresco/extension/templates but so far no luck. Any idea ?
The following folders are listed in the sequence in which Alfresco searches for Web Script implementation files: repository folder: /Company Home/Data Dictionary/Web Scripts Extensions repository folder: /Company Home/Data Dictionary/Web Scripts class path folder: /alfresco/extension/templates/webscripts class path folder: /alfresco/templates/webscripts Within any of these folders, you can use subfolders to organize web scripts.
Thank you ssaravanan but this is for web-scripts (desc.xml .js and .ftl) framework, not for "Presentation Templates".
The wiki says that templates "can be stored either on the ClassPath or in a Repository" but probably it refers to templates in general and not to the "Presentatin Templates". It seems like probably "Presentation Templates" can't be stored outside the repository, strange.