Question
Siemens Technology and Services Private Limited
IN
Last activity: 23 Mar 2018 11:53 EDT
JQuery ajax call vs pega.u.d.asyncRequest()
Hi,
I have a requirement for a custom control (a genuine 'custom' req). The control much run an activity in pega asynchronously.
Point is: both pega.u.d.asyncRequest() and $.ajax (Jquery ajax call) work, meaning I am able to run an activity asynchronously. But I want to understand what is the benefit of using pega.u.d.asyncRequest() over $.ajax? BTW Jquery 'context' does not work with pega.u.d.asyncRequest(). Are there any longer term issues if I use $.ajax?
***Updated by moderator: Lochan to update Categories***