Skip to main content
April 7, 2023
Solved

What is the correct API Type to use in an Extensibility Rule to call Members.GetBaseMembers()?

  • April 7, 2023
  • 1 reply
  • 0 views

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()?

Best answer by JackLacava

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.

1 reply

April 7, 2023

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

April 7, 2023

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.

 

April 18, 2023

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.