generateProblem(report, callback);
report. PP.Exp.EaxAnalyzer. Report.
callback. PP.Delegate. Callback function.
The generateProblem method sends a query for modeling problem generation.
The method implements logic of pressing the Modeling and Forecasting button on the tool ribbon.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). The report should be based on a time series database.
// Set event handler that displays server response in the console callback = function(sender, args) { console.log(args.Response); }; // Send request for workbook generation eaxMdService.generateWbk(eaxAnalyzer, callback);
After executing the example the browser console displays a JSON object containing server response for workbook generation.
See also: