Hi All,When I try to submit my Form for updating one of my custom content model "hccm:productTypeFolder"
, through /api/{item_kind}/{item_id}/formprocessor.I am getting the below ERROR,<CODE>2015-04-09 11:10:04,997 [ERROR] org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:234) Exception from executeScript - redirecting to status template error: 03090003 Script url /api/type/hccm
roductTypeFolder/formprocessor does not support the method PUTorg.springframework.extensions.webscripts.WebScriptException: 03090003 Script url /api/type/hccm
roductTypeFolder/formprocessor does not support the method PUT at org.springframework.exten</CODE>When I browse I came to know like, FormProcessor doesn't support PUT method.
.The below tutorial says that,http://docs.alfresco.com/5.0/tasks/aikau-tutorials-crud-update.htmlBut I am not able to do the Update using "ALF_CRUD_CREATE", as per the instructions given in the above link, can someone let me know how I can use this "ALF_CRUD_CREATE" to do the update of my custom content type.Here is my form widget detail,var editForm = {
name : "alfresco/forms/Form",
config : {
okButtonLabel : "Update",
okButtonPublishTopic : "ALF_CRUD_UPDATE",
okButtonPublishGlobal : true,
okButtonPublishPayload : {
url : "api/type/hccm%3AproductTypeFolder/formprocessor",
alf_destination : alfDestination,
},
okButtonPublishGlobal : true,
showCancelButton : false,
widgets : [ /*All my form widgets goes here */]
}
};