1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Getting the linked child nested module items

Getting the linked child nested module items

5 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    24 Jul 2012
    Link to this post
    If I have an instance of my parent Dynamic Type, and that object has 3 child items, how do I get those in the API??

    I see "SystemChildItems" and "SystemHasChildItems"

    But neither show any items, when the UI shows 3
  2. AJ
    AJ avatar
    11 posts
    Registered:
    17 Sep 2012
    24 Jul 2012
    Link to this post
    I too would like an answer to this!
  3. Stoimen Stoimenov
    Stoimen Stoimenov avatar
    60 posts
    Registered:
    11 Jul 2016
    25 Jul 2012
    Link to this post
    Hello Steve,

    Here are some documentation articles that should help you get started with hierarchical content types.

     
    Regards,

    Stoimen Stoimenov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. AJ
    AJ avatar
    11 posts
    Registered:
    17 Sep 2012
    25 Jul 2012
    Link to this post
    Just wondering, can a child item have multiple parent items?

    EG, if the parent item is a contact list and the child item is a contact, can the contact be the child of more than one contact list?
  5. Stoimen Stoimenov
    Stoimen Stoimenov avatar
    60 posts
    Registered:
    11 Jul 2016
    26 Jul 2012
    Link to this post
    Hello Andy,

    Items can have more than one parent but you need to add some custom modifications. In the content types that need to refer to your specific content type add guids or array of guid fields that keep the item ids of the content type they refer. You can use this blog post to help you get started. It requires some custom development but still you can get some pretty nice results. We will definitely have this implemented for future releases but for now using sitefinity backend UI you can only set up items that have one parent.

    To speed up the development process I suggest you to use Sitefinity Thunder Visual Studio extension.

    Regards,
    Stoimen Stoimenov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered