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?

1
  • Add them to the URL you request as normal? Commented Jul 20, 2016 at 12:23

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.