I'm using Alfresco Enterprise 6.2. Actual changes I need to make belongs to the search.lib.js
This is an import in the search.get.js. I tried modifying search.lib.js
itself and had no effect. So I populated the import in the search.get.js
and modified it directly. I'm not too sure if it's the right approach. What would be the best way to go about this change?
Asked
Active
Viewed 184 times
1

BlueStar
- 401
- 3
- 9
- 29
-
How did you rebuild the JS after making your change? How are you packaging your change? – Gagravarr Jun 12 '20 at 04:34
-
@Gagravarr I am placing the search.get.js in alfresco/extension/templates/org/alfresco/slingshot/search path. – BlueStar Jun 12 '20 at 08:09
2 Answers
1
Keep your files to below location to override.
alfresco\extension\templates\webscripts\org\alfresco\slingshot\search

Sanjay
- 2,481
- 1
- 13
- 28
1
The approach to overriding web scripts via the alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/search.get.js path has not changed in 6.2 and is still viable.

Arjun
- 624
- 2
- 6