Zooflow: Remove ClassDataASorDB
This commit is contained in:
@@ -4,6 +4,7 @@ Imports DigitalData.Modules.EDMI.API
|
||||
Imports System.IO
|
||||
Imports System.Text
|
||||
Imports DigitalData.Modules.EDMI.API.Client
|
||||
Imports DigitalData.Modules.EDMI.API.EDMIServiceReference
|
||||
|
||||
Public Class frmtest
|
||||
|
||||
@@ -36,7 +37,7 @@ Public Class frmtest
|
||||
|
||||
|
||||
Private Async Sub btnImportFile_Click_(sender As Object, e As EventArgs) Handles btnImportFile.Click
|
||||
Dim oObjectId As Long = Await My.Application.Service.Client.ImportFileAsync(
|
||||
Dim oResponse As ImportFileResponse = Await My.Application.Service.Client.ImportFileAsync(
|
||||
txtFile2Import.Text,
|
||||
txtProfileId.Text,
|
||||
New List(Of EDMIServiceReference.UserAttributeValue) From {
|
||||
@@ -50,11 +51,13 @@ Public Class frmtest
|
||||
"DEFAULT"
|
||||
)
|
||||
|
||||
If oObjectId <> INVALID_OBEJCT_ID Then
|
||||
If oResponse.OK Then
|
||||
MsgBox("File Imported!", MsgBoxStyle.Information, Text)
|
||||
txtIDB_OBJ_ID.Text = oResponse.ObjectId
|
||||
Else
|
||||
MsgBox("File was not imported. Check the server logs!")
|
||||
MsgBox("File was not imported. Check the server logs!", MsgBoxStyle.Critical, Text)
|
||||
End If
|
||||
txtIDB_OBJ_ID.Text = oObjectId
|
||||
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
Reference in New Issue
Block a user