Skip to main content

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.

runDataTransform: Public JS API for control actions

Suggest edit Updated on April 6, 2017

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.
Did you find this content helpful? YesNo

100% found this useful

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us