EaxMdService.loadEaxMd

Syntax

loadEaxMd(report: PP.Exp.EaxAnalyzer, callback, fireEvent);

Parameters

report. Loaded express report.

callback. Callback function. Optional parameter.

fireEvent. Indicates if to confirm loading metadata to express report. Optional parameter.

Description

The loadEaxMd method load an express report to a service to work with it.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Open the express report with the 109 key, and load it to service to work with it:

// Get service to work with the express reportr
var eaxMdService = expressBox.getService();
// Open the express report with the 109 key
var eaxAnalyzer = eaxMbService.open(109);
// Define the callback function
var callback = function (sender, args) {
    console.log("Express report with the following key is loaded to service: " + args.Args.getKey());
};
// Load express report to the service
eaxMdService.loadEaxMd(eaxAnalyzer, PP.Delegate(callback, this, eaxAnalyzer));

After executing the example the express report is opened and loaded to service to work with it. The browser console displays an appropriate message:

Express report with the 109 key is loaded to the service

See also:

EaxMdService