runDataTransform: Public JS API for control actions
runDataTransform
Run a Data Transform.
Syntax
var options = {
name: “dataTransformName ",
parameters: [{name: "param1", value: "Page1.prop1", isProperty: true}, {name: "param2", value: 123, isProperty: false}],
contextPage: "page1.page2 ",
event: eventObject
};
pega.api.ui.actions.runDataTransform(options);
Parameters
This API accepts a JavaScript object which can have the following key-values.
- name: The name of the Data Transform.
- parameters: Optional. Array of the data transform parameters in JSON format.
- contextPage: Optional. The Page that provides the context that the data transform run in. When not set, the data transform run in the primary page context.
- event: The event refers to a DOM eventObject.