Quintiq file version 2.0
#parent: #root
Method ImportXML () as Boolean id:Method_SWF_CustomDrawComponentProcessDashboard_ImportXML
{
  #keys: '[113694.2.1230469807]'
  Body:
  [*
    // Import XML
    filename := Application.GetOpenFileName('xml', 'XML file (*.xml)');
    imported := false;
    
    if( filename <> '' )
    {
      xml := Application.ReadBinaryFile( filename );
      if( not isnull( xml ) )
      {
        SWF_WorkflowDataset.ImportXML( xml.AsBinaryValue(), true ); 
        imported := true;
      }
    }
    
    return imported;
  *]
}
