* „Linie 199: The identifier 'WMEntityChoiceList' is not declared anywhere in the code or in the referenced libraries. A placeholder and a clear exception are added to indicate that the developer must define or provide the correct value for WMEntityChoiceList according to the Windream API.

Linie 234: The identifier 'WMEntityChoiceList' is not declared anywhere in the code or in the referenced libraries. A placeholder and a clear exception are added to indicate that the developer must define or provide the correct value for WMEntityChoiceList according to the Windream API.“ in Datei „Windream\Windream.vb“
This commit is contained in:
Developer01
2025-12-29 14:40:33 +01:00
parent 77c4170c12
commit 3cb223bccf

View File

@@ -196,7 +196,8 @@ Public Class Windream
End If End If
Try Try
oChoicelist = Session.GetWMObjectByName(WMEntityChoiceList, ChoiceListName) ' TODO: WMEntityChoiceList is not defined. Please define WMEntityChoiceList or replace it with the correct constant or enum value representing a choice list entity in your Windream API.
Throw New NotImplementedException("WMEntityChoiceList is not defined. Please define WMEntityChoiceList or provide the correct value for choice list entity.")
Catch ex As Exception Catch ex As Exception
_logger.Error(ex, "Could not get choice list") _logger.Error(ex, "Could not get choice list")
Return oItems Return oItems
@@ -231,7 +232,8 @@ Public Class Windream
Dim oChoiceLists As WMObjects Dim oChoiceLists As WMObjects
Dim oChoiceList As IWMObject2 Dim oChoiceList As IWMObject2
'load list of choicelists 'load list of choicelists
oChoiceLists = Session.GetAllObjects(WMEntityChoiceList) ' TODO: WMEntityChoiceList is not defined. Please define WMEntityChoiceList or replace it with the correct constant or enum value representing a choice list entity in your Windream API.
Throw New NotImplementedException("WMEntityChoiceList is not defined. Please define WMEntityChoiceList or provide the correct value for choice list entity.")
For Each oChoiceList In oChoiceLists For Each oChoiceList In oChoiceLists
oItems.Add(oChoiceList.aName) oItems.Add(oChoiceList.aName)