AnsweredAssumed Answered

Webscript overriden but controller is not getting called

Question asked by signjoy on Dec 14, 2017
Latest reply on Dec 29, 2017 by signjoy

Hi,

I overridden the calendar create event webscript in my all in one project. When i go to http://localhost:8081/alfresco/s/index I can see the calendar/create webscript. When i go to details it shows me both the webscripts (mine and OOTB).

Custom at Store: classpath:alfresco/extension/templates/webscripts

OITB at Store: classpath:alfresco/templates/webscripts

 

However, whenever I create a new event, it always calls the OOTB webscript only. I've created the java controller at the same path as OOTB (org.alfresco.repo.web.scripts.calendar.CalendarEntryPost), but my custom java controller is never getting called.

 

Webscript location:

POST /alfresco/s/calendar/create

 

Below is my project structure and the webscript entry in the webscript-context.xml.

Thank you

Outcomes