cancel
Showing results for 
Search instead for 
Did you mean: 

Replacing share webscripts behaviour

maxdykhno
Champ in-the-making
Champ in-the-making
Hi all!


Is there any way to replace share webscript template or controller using extension module? I mean to completely replace template file or controller in case when SurfBug useless because webscript is called from js share component (e.g using SimpleDialog component).

As I understood according to docs extension mechanism allows only to extend functionality of webscript or replace some parts of template (markups with id) using target id.



Or maybe alfresco has better way to replace alfresco webscript behaviour without editing and replacing alfresco files?



Thanks in advance.
1 REPLY 1

rjohnson
Star Contributor
Star Contributor
You can simply create a file with the same name and path under your shared/lib and it will override the standard.

You should never need to directly edit Alfresco webscript files.