| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | 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; |  |   *] |  | } | 
 |