Table of Contents

Article

runDataTransform: Public JS API for control actions

runDataTransform

Run a Data Transform.

Syntax

var options ={<br />
name: “dataTransformName ",<br />
parameters: [{name: "
param1", value: "Page1.prop1", isProperty: true}, {name: "param2", value: 123, isProperty: false}],<br />
contextPage: "
page1.page2",<br />
event: eventObject<br />
};

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.

Published February 15, 2017 — Updated April 6, 2017


100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.