AnsweredAssumed Answered

Customizing advanced search in Alfresco 5.2

Question asked by os.cerna on May 25, 2017
Latest reply on May 25, 2017 by douglascrp


i´m currently migrating a share and repo project from version 4.2.0 to 5.2 and i´m facing some issues.

One of those is that i´ve extended org/alfresco/slingshot/search/search.get.js (i needed to customize advanced search, since i wanted to search documents with the effectivity aspect within a date range which  was between cm:from and cm:to)

What i did was that i created a new search.get.js with the custom query i wanted and placed it on my alfresco installation in this directory (because it couldnt be extended via amp): 


i also created a .xml file which called this file and placed it on :tomcat\shared\classes\alfresco\extension

this solved the issue then.

But now, doing that doesnt work on v5.2 investigating a bit i found that  the search.get.js file is on the share-services.amp, which it didnt exist back in version 4.2, and my question is, how do i do it now? 

Thanks a lot in advance