The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
JoBo
2 years agoNew Contributor II
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...
- 2 years 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)
MarcusH
2 years agoValued Contributor
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)
JoBo
2 years agoNew Contributor II
Works brilliant, thanks a lot Marcus:rocket:
Related Content
- 3 years ago
- 2 years ago