diff --git a/Windream/Windream.vb b/Windream/Windream.vb index 128f9639..3580685b 100644 --- a/Windream/Windream.vb +++ b/Windream/Windream.vb @@ -196,7 +196,8 @@ Public Class Windream End If 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 _logger.Error(ex, "Could not get choice list") Return oItems @@ -231,7 +232,8 @@ Public Class Windream Dim oChoiceLists As WMObjects Dim oChoiceList As IWMObject2 '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 oItems.Add(oChoiceList.aName)