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
NidhiMangtani
4 years agoContributor III
Adding member relationship via Extender Rule
Hello,
Please share a reference for adding a relationship between dimension members via Extender rule. I am trying to add new members via Extender rule, the member gets added as an Orphan.
I hav...
- 4 years ago
Additionally passed DimID, DimTypeID and UD Aggregation weight and it worked as expected. No action needed on this further.
Knight501
OneStream Employee
3 years agoThank you for the post Nidhi, I had the same problem where the member was created but as an orphan.
For reference, I found it is the relationship variable you need to set the DimId and UD Aggregation for:
Dim relationship As New Relationship
Dim objDim As OneStream.Shared.Wcf.Dim = BRApi.Finance.Dim.GetDim(si, "CorpEntities")
relationship.DimId = objDim.DimPk.DimId
relationship.UDAggWeight = 1
Regards,
Tom