setData

Passes a JSON object from a server automation script (triggered by a callAction function) to the result parameter of the client-side callback function. The JSON object is attached to the <result parameter name>.UIResult.Data property.

setData is compatible with callAction, callActionByName, callActionAsync, and callActionByNameAsync functions.

Syntax

Copy
function setData(dataSet: any): void
 
Parameter Description
dataSet JSON object containing key – value pairs for the data set you wish to pass to the client-side callback function.

Examples