0

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?

Paul
  • 141
  • 1
  • 11

1 Answers1

1

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 } });

izodev
  • 135
  • 8
  • 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 – Paul Jul 21 '16 at 11:54