Question
10
Replies
3698
Views
Posted: February 10, 2019
Last activity: August 3, 2019
Closed
Solved
Javascript APIs
Can some give a working example of a Javascript API?
For example:
refreshSection - API
var options = {
section: sectionName,
event: eventObject,
dataTransform: dataTransformJSObject,
activity: activityJSObject,
submitOnRefresh: booleanVal
};
pega.api.ui.actions.refreshSection(options);
Can someone give a working example of this syntax?
Thanks in advance.
Ratan
***Edited by Moderator Marissa to update platform capability tags; add SR Details****
Hi,
let me take the example of runDataTransform() API.
Here I want to trigger this to run one of my custom DT. The sample code will be something like this.
function onHarnessLoadHandler() {