ModellingGenerated: function (sender, args)
sender. Event source.
args. Event information.
The ModelingGenerated event occurs after creating an object by means of the Modeling and Forecasting button.
To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). Open the Advanced Analytics tab in the report and enter the following code in the console:
// Get tool ribbon ribbon = reportBox.getRibbonView(); // Get the Advanced Analytics tab analyticCat = ribbon.getAnalyticsCategory(); // Add event analyticCat.ModelingGenerated.add(function(sender, args){ console.log(args); });
After executing the example the event is added.
See also: