IAdhocReport.SaveToCombinedXML

Syntax

SaveToCombinedXML(Destination: Variant);

Parameters

Destination. Path and name of the XML file, to which settings of dashboard with slides are to be saved.

Description

The SaveToCombinedXML method saves settings of dashboard with slides to the specified XML file.

Example

Executing the example requires that the repository contains a dashboard with slides with the DASHBOARD identifier.

Add links to the Adhoc, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dashboard: IAdhocReport;
Begin
    // Get the current repository
    MB := MetabaseClass.Active;
    // Get dashboard
    MObj := MB.ItemById("DASHBOARD").Edit;
    Dashboard := MObj As IAdhocReport;
    // Save settings of dashboard and slides to file
    Dashboard.SaveToCombinedXML("c:\Report.xml");
End Sub UserProc;

After executing the example, parameters of dashboard and slides are saved to the specified XML file.

See also:

IAdhocReport