Open this page in the API Guide

DataCubeCanvasService.modifyExpressionScript Method

Modifies an expression script by opening the script editor and loading the script as the text in the editor.
 

Parameters

eventsData

Type: Object
The events data used to load the expression in the script editor. Structure:
     processExpressionDialogViewModel    [type: dundas.controls.ProcessExpressionDialogViewModel]    - The expression view model to modify.
     transformDialogViewModel            [type: dundas.view.controls.Transform]                      - The transform the expression is in.