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
RobbSalzmann
3 years agoValued Contributor II
What is the correct API Type to use in an Extensibility Rule to call Members.GetBaseMembers()?
An api is passed in, but typed as Object, what is object type of the correct/most efficient API to use in an Extensibility Rule to call Members.GetBaseMembers()?
if the api object is typeless ("Object") in that particular context, it means it's empty and there is nothing to use there. Not all engines actually provide a useful "api" object. In those cases, BRApi is the only way to go.
3 Replies
- NicolasArgenteValued Contributor
Hey Robb!
Try that :
BRApi.Finance.Members.GetBaseMembers(si, DimensionDimPk, YourTopMemberId, Nothing )
Give a Thumbs Up if it helps 🙂
And Happy easter to all!
Nic- RobbSalzmannValued Contributor II
Thank you for the feedback NicolasArgente . My understanding is that the BRApi is used when cross-engine is the only way to achieve something that the current engine's API cannot.
Does this mean that 'api' passed in cannot 'GetBaseMembers'?
I'm seeking peak efficiency here.- JackLacava
OneStream Employee
if the api object is typeless ("Object") in that particular context, it means it's empty and there is nothing to use there. Not all engines actually provide a useful "api" object. In those cases, BRApi is the only way to go.
Related Content
- 2 years ago