2 Replies Latest reply on Sep 9, 2016 8:10 AM by elvisisking

    How to disable same name sibling


      Hi everybody,


      I would like to disable the same name sibling on my Jcr Repository. How can I do that? I did'nt find any configuration tag or method to disactivate it.


      Thank you in advance



        • 1. Re: How to disable same name sibling

          You cannot disable SNS. If you don't want SNS, you have to model your data accordingly. The JCR spec explains (via the CND format or the API) how to create data types which don't allow SNS.

          • 2. Re: How to disable same name sibling

            Hi Kevin,


            I wanted to do the same thing and found this node type definition. You can use it in your CND as your base node type instead of using nt:unstructured.



            * A node type that does not allow same named siblings. Otherwise it is identical to nt:unstructured.


            [xyz:baseNodeType] orderable

              - * (undefined) multiple

              - * (undefined)

              + * (nt:base) = xyz:baseNodeType version