Example #1
0
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     _lcid = (int)GetSecureInput<object[]>()[0];
     _path = (string)GetSecureInput<object[]>()[1];
     var upload = new WMUploadFiles("Upload flag icon, format: PNG 16x11px", false);
     return new NextCall(upload, onComplete);
 }
Example #2
0
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     WMUploadFiles diag = new WMUploadFiles("Upload new XML definitions file", false);
     return new NextCall(diag, onComplete);
 }
Example #3
0
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     WMUploadFiles diag = new WMUploadFiles("Please upload database file", false);
     WFContext.InBackgroundMode = false;
     return new NextCall(diag, onCompleteUpload);
 }
Example #4
0
 NextCall uploadOntology()
 {
     var diag = new WMUploadFiles("Upload ontology", false);
     return new NextCall(diag, onCompleteUpload);
 }
Example #5
0
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     WMUploadFiles w = new WMUploadFiles("Please upload file", false);
     return new NextCall(w, onComplete);
 }
Example #6
0
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     _path = GetSecureInput<string>();
     WMUploadFiles upload = new WMUploadFiles("Upload zip file to \"" + WAFRuntime.FileSystem.GetDirectoryInfo(_path).Name + "\":", false);
     return new NextCall(upload, onCompleteUpload);
 }
Example #7
0
        public override NextCall Invoke(WorkflowMethod invoker)
        {
            _path = GetSecureInput<string>();

            WMUploadFiles upload = new WMUploadFiles(Local.Text("Web.WAF.Edit.ExplorerUploadZipFile") + WAFRuntime.FileSystem.GetDirectoryInfo(_path).Name + "\":", false);
            return new NextCall(upload, onCompleteUpload);
        }
 public override NextCall Invoke(WorkflowMethod invoker)
 {
     _targetFolderId = this.GetSecureInput<int>();
     WMUploadFiles d = new WMUploadFiles("Uploading zip file to the library...", false);
     return new NextCall(d, onUploadComplete);
 }