This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.
Close popover

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.
Suggest Edit

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.