AnsweredAssumed Answered

Extending an existing .post.json.js javascript controller

Question asked by akusei on Sep 1, 2015
Latest reply on Dec 14, 2016 by angelborroy
I'm trying to extend an existing .post.json.js javascript controller. I've done this successfully with share-header.get.js by using a module extension and now I want to add some additional "post" processing to the creation of a site. I've added a file and the following module definition:

   <id>Create Site Extension</id>

I've added the to the directory /config/alfresco/site-webscripts/create-site inside my module's JAR file. The javascript in my file doesn't seem to be running at all and yes, I've added it to the deployed modules list inside Alfresco.

I'm using Alfresco 5.0d. Does anyone know what I'm doing wrong? Is it even possible to add functionality to a post controller like you can a get controller?