AnsweredAssumed Answered

How to bundle search overrides into WEB-INF/classes/extension folder

Question asked by kartech11 on Jun 27, 2018
Latest reply on Jun 29, 2018 by kartech11

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?

Outcomes