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?
Asked
Active
Viewed 656 times
0
-
Add them to the URL you request as normal? – Gagravarr Jul 20 '16 at 12:23
1 Answers
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