AnsweredAssumed Answered

Override client side JS

Question asked by binary_101 on Aug 4, 2017
Latest reply on Aug 4, 2017 by afaust

How can I override e.g.

{share.war}/components/documentlibrary/documentlist-view-detailed.js

in SDK 3.0 (alfresco-share-jar-archetype)?

I tried:

  1. putting my custom documentlist-view-detailed.js into src/main/assembly/web/components/documentlibrary/ with the default file-mappings.properties (already maps /web=/)
  2. put my custom documentlist-view-detailed.js into src/main/resources/META-INF/resources/components/documentlibrary/

Nothing works ... it ends up in {custom.amp}/web/components/documentlibrary/ but running the maven project does not load it, alfresco ignores it.

Outcomes