I have created webscripts for creating new start workflow using javascript,I want to post the parameter value to webscripts from client side java script is this possible?
1 Answer
Use the OOTB Alfresco's JS function which can send your Object via the requests
Alfresco.util.Ajax.request(
{
url: "your URL",
method: Alfresco.util.Ajax.POST,
dataObj: YOUR_OBJECT,
requestContentType: Alfresco.util.Ajax.JSON,
successCallback:
{
fn: successHandler,
scope: this
},
failureCallback:
{
fn: failureHandler,
scope: this
}
});
1 Comment
Paul
Yes i am able to send values to webscripts how can i receive the webscripts ? and how can i populated values in workflow form cloud you help me with reference