cancel
Showing results for 
Search instead for 
Did you mean: 

overriding web script properties

sihnu
Champ in-the-making
Champ in-the-making
Hello,

I'm translating some parts of the Alfresco and mostly I'm doing fine implementing my own custom properties by overriding the beans. I want to keep my customization in my extension folder as it is supposed to do. Anyway, I don't know how to override workflow web script properties like start-workflow.get.properties. Should I copy the whole web script and then deploy it? Think that would lead to duplication problems. Is there a nice better way to do that?
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
You can override any file that makes up a web script by copying that file into the appropriate extension folder and maintaining the same folder structure. You can then make changes to that file without touching the original that was shipped with Alfresco.

The appropriate extension folder depends on whether you are overriding a repository tier web script or a share tier web script. The root web script extension folder for the repository tier is:

$TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco/extension/templates/webscripts

The root web script extension folder for the share tier is:

$TOMCAT_HOME/webapps/share/WEB-INF/classes/alfresco/web-extension/site-webscripts

Jeff

loftux
Star Contributor
Star Contributor
If you are on 4.0 and it is the share properties you need to override there is an even better way, see http://blogs.alfresco.com/wp/ddraper/2011/08/03/customizing-alfresco-share-i18n-properties/
That way you can just override those properties you want to change.