06-27-2018 11:03 AM
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?
06-28-2018 05:08 PM
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.
06-29-2018 11:09 AM
Thanks a lot for your help Douglas, works fine now after putting in platforms jar.
Explore our Alfresco products with the links below. Use labels to filter content by product module.