IAdhocReport.SaveToXML

Fore Syntax

SaveToXML(Destination: Variant);

Fore.NET Syntax

None;

Parameters

Destination. The path and the name of the XML file, to which dashboard settings are saved.

Description

The SaveToXML method saves dashboard settings to the specified XML file.

Comments

The saved settings can be later loaded using the LoadFromXML method.

Fore Example

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

Sub UserProc;
Var
    MB: IMetabase;
    AdhocDS: IAdhocDataSources;
Begin
    MB := MetabaseClass.Active;
    AdhocDS := MB.ItemById("AdhocReport").Bind As IAdhocDataSources;
    AdhocDS.SaveToXML("c:\Report.xml");
End Sub UserProc;

After executing the example dashboard parameters are saved to the specified file.

See also:

IAdhocReport