JoBo
8 months agoNew Contributor
Memberlist based on Datatable returns nothing
Hi guru's
I have created some memberlist logic which should retrieve a list of entities from a datatable. So far so good, the code seems to work (logging returns my expected entities) but the retu...
- 8 months ago
I think the problem is that it does not know what dimension the member info list is for. I haven't tested this but it should put you on the right path:
Dim unId As String = row("UN_ID").ToString() Dim EntMemID As Integer = api.Members.GetMemberId(DimType.Entity.Id, unID) Dim memInfo As MemberInfo = New MemberInfo(api.Members.GetMember(DimType.Entity.Id, EntMemID)) listOfMemberInfos.Add(memInfo)