In order to override live search , I have created two files under the below folder within the alfresco-share-jar folder within the AIO project
I have put the files under this folder
alfresco-share-jar/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/singleshot/search/
FILES
live-search-docs.get.config.xml
search.get.config.xml
For alfresco tomcat server to pick up the overrides to search, the file should be under
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search
1.How should I have the extension folder deploy to WEB-INF/casses folder in tomcat? Do I need to modify the assembly.xml file if I am using an AMP?
2.If i don't want to use an AMP then how do I get this folder into the WEB-INF within the share WAR?
Hello.
Those files should be placed in the platform-jar project, and not in the share-jar.
They will change the way alfresco deals with the search before sending to share the result to be presented to the user.
Thanks a lot for your help Douglas, works fine now after putting in platforms jar.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.