cancel
Showing results for 
Search instead for 
Did you mean: 

How do I save a Member to the root of a dimension

OSAdmin
Community Manager
Community Manager
Originally posted by Steve Davis

How do I save a Member to the root of a dimension (as a child of Hierarchy)?

I have tried the SaveMemberAndRelationshipInfo method, but this gives me the error:  Error creating parent-child relationship.  Invalid Parameter. child, [CHILDNAME].

 

1 REPLY 1

Hernan_Carvi
New Contributor

The workaround I've found was to find all the parents of a sibling member that rolls up to the root, and then just picking the first one:

BRApi.Finance.Members.GetParents(si, dimPk, sibling, includeRootMemberInResult, dimDisplayOptions).Item(0)