Skip to Content

Design Studio SDK ResultSet for hierarchy using duplicate nodes missing duplicates?

Hello @Reiner Hille-Doering,

I was playing with the SDK and hierarchys today when I noticed that the framework passing me the data (property of type ResultSet) is missing the duplicate nodes from the hierarchy. I would either expect it to return two values with the same key on the members but with different parents or an array of parents if there shall be only one entry with the same key.

Is that behavior by design? Let me know your thoughts.

Kind regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 27, 2016 at 04:08 PM

    Hello Marin,

    excellent observation.

    We detected the same problem when implementing hierarchies in our Spreadsheet component - which uses part of the SDK to bring data to the browser: Each hierarchy node has an own collapse/expand state and a different parent.

    To solve this without breaking existing SDK components - that expect each member to appear only once, we have a new option:

    <option name="repeatHierarchyNodes" value="true"/> .

    In this case you will get hierarchy nodes multiple times as part of the dimension.

    The feature was introduced in 1.6 SP 2 ( if I remember correctly). It was not documented so far, as it is something really special.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2016 at 02:22 PM

    Curious, are these linked nodes?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.