Quintiq file version 2.0
#parent: #root
Method ExportXML () as Boolean id:Method_SWF_CustomDrawComponentProcessDashboard_ExportXML
{
  #keys: '[113694.2.1230471638]'
  Body:
  [*
    // Export XML
    exported := false;
    filename := Application.GetSaveFileName('xml', 'XML file (*.xml)');
    if ( filename.Length() > 0 )
    {
      xmlstring := XMLIO::ExportString( SWF_WorkflowDataset );
      Application.WriteTextFile( filename, xmlstring );
      exported := true;
    }
    
    return exported;
  *]
}
