PrxMdService.loadPrxMd

Syntax

loadPrxMd (report, callback)

Parameters

report.. Report model, instance of the Report class.

callback. The callback procedure.

Description

The loadPrxMd method loads the metadata to the object of the Report class.

Comments

The method is used to update (renew from service) report metadata.

Example

To execute the example, the HTML page must contain a service used to work with regular report named prxMbService, and report source named prxReport (see Example of the ReportBox Component Layout). Create the LoadData function:

function loadData() {

      prxMbService.loadPrxMd(prxReport);

}

The metadata are loaded to the PrxReport report after a function execution.

See also:

PrxMdService