| Quintiq file version 2.0 | 
| #parent: #root | 
| Method CreateTutorialWizard | 
| { | 
|   Description: 'Import Johnny demo template from default server location' | 
|   TextBody: | 
|   [* | 
|     try | 
|     { | 
|       filepath := WizardManager_SM::GetWorkflowWizardFileName();               | 
|       file := OSFile::Construct( filepath ); | 
|       file.Open(); | 
|       binaryValue := file.ReadBinary();   | 
|       file.Close(); | 
|       wizardManager := this.WizardManager(); | 
|       workflowFeature := select( wizardManager, LibWiz_InitProcessFeature, feature, | 
|                                  feature.Name() = 'Workflow' ); | 
|       wizardManager.ImportNVT( binaryValue, workflowFeature );  | 
|     } | 
|     onerror | 
|     { | 
|       debuginfo( 'Johny demo wizard file import error'); | 
|     } | 
|   *] | 
| } |