Skip to main content
Contributor
January 19, 2023
Solved

SiblingID - How to read this property?

  • January 19, 2023
  • 1 reply
  • 0 views

It appears to be possible to set the SiblingID in RelationshipPositionOptions, so it exists as a property.   How do I "read" it to see what it is for a member?

Thank you in advance for any assistance.

 

 

Best answer by JackLacava

You never "read it", because it doesn't really exist to start with. RelationshipPositionOption is just a way to signal how a relationship should be modified, in the same way as you would set these two properties via the interface:

JackLacava_0-1674139005187.png

To explain what it does, have a look at this past solution: https://community.onestreamsoftware.com/t5/Rules/Specifying-SiblingSortOrder-while-adding-relationship-through/m-p/8333

1 reply

OneStream Employee
January 19, 2023

You never "read it", because it doesn't really exist to start with. RelationshipPositionOption is just a way to signal how a relationship should be modified, in the same way as you would set these two properties via the interface:

JackLacava_0-1674139005187.png

To explain what it does, have a look at this past solution: https://community.onestreamsoftware.com/t5/Rules/Specifying-SiblingSortOrder-while-adding-relationship-through/m-p/8333

SeanVAuthor
Contributor
January 19, 2023

Ah, I wasn't thinking of it in the right way.   That makes sense to me now.   You can send the value in order to change/update the relationship (essentially its position in the hierarchy/dimension).  Its not "stored" anywhere.