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

Forums / Developing with Sitefinity / Dynamic Module Content Items

Dynamic Module Content Items

16 posts, 0 answered
  1. Mike
    Mike avatar
    12 posts
    Registered:
    07 Mar 2014
    07 May 2014
    Link to this post

    I've been looking into dynamic content modules and I have been having issues building out the data model I need.  I need to have a parent content item with different child content types - multiple.  Currently I can't seem to make this work.

    This has to be able to work somehow.  When the documentation said SiteFinity supported "hierarchical content items" to me, that implied it allowed multiple content items per parent.  I have a complex data model and I need to be able to represent it in a way that will make sense for permissioning and for the authors.

  2. Arno
    Arno avatar
    249 posts
    Registered:
    08 Sep 2010
    08 May 2014
    Link to this post

    I totally agree this should be possible. I had to simplify my data model to make it work in the Module Builder, but I fear future requirements. Multiple children is a normal feature in any data model.

     I think Telerik has logged a feature request for this last year or so, but I could not find it. Hopefully someone can estimate a release date for this.

  3. Mike
    Mike avatar
    12 posts
    Registered:
    07 Mar 2014
    08 May 2014
    Link to this post

    Can someone from Telerik weigh in on this?  Is there nothing I can do to support multiple child content items?  If so, can we at least be notified if this is planned at some point - hopefully soon?

     Thanks

  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 May 2014 in reply to Mike
    Link to this post

    +400 , REALLY REALLY want this

  5. Mike
    Mike avatar
    12 posts
    Registered:
    07 Mar 2014
    09 May 2014
    Link to this post

    I have a follow-up to this.   It would seem that multiple child content types per parent is not currently available - for the module builder at least.

     Is this in any way possible if you create a custom module?

    Putting is simply: "Can you define multiple child content types per parent in a custom module?"

    I don't mind the extra effort of creating and managing a custom module as long as it gives the content structure I need.

  6. Georgi Dimitrov
    Georgi Dimitrov avatar
    9 posts
    Registered:
    28 Nov 2016
    10 May 2014
    Link to this post
    Hi Mike,

    You are right, the Module builder currently doesn’t support multiple child types.

    Is it possible to realize your structure using Related data (User guide, Developers guide) feature? If not, could you please provide more information about your case and desired structure?

    Regards,
    Georgi Dimitrov
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  7. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    10 May 2014 in reply to Georgi Dimitrov
    Link to this post

    Oh boy, theres a million and one scenarios where you'd want to craft a complex (ish) schema with multiple parent/children...related would just be a hack

     Like lets say you put a new related field to pick the parent, in the UI you have no way to even see that or 'drill down'...do you know what I mean?

     Like lets say my root type is cities, and the child is restaurants.  So I click the city in the backend UI and now I can add restaurants to that city...list auto-filtered and the API returns the right child items.  Thats a nice powerful way to empower the users to visualize the data.

  8. Arno
    Arno avatar
    249 posts
    Registered:
    08 Sep 2010
    11 May 2014 in reply to Steve
    Link to this post

    And suppose Steve's cities not only have restaurants, but also tourist attractions and parking places. The easiest way would be to have 1 parent with 3 children. Very common data structure. Every relational database can do it.

  9. Nikolay
    Nikolay avatar
    7 posts
    Registered:
    09 Nov 2010
    12 May 2014 in reply to Steve
    Link to this post

    Hi, Steve. It seems that your are mostly restricted to use the related data field in this case because of lack of convenient UI to drill down and follow the parent - child relations - if we add such convenient UI in the backend I suppose you will be ok to use the related data field in hierarchical structures?

    Also one additional consideration for hierarchical types is that the child items get a URL slug generated with the parent item URL - is this something important that you will need (since related content do not support this). Plus is the cascade deletion of child items and important feature - cause we can probably add this to related content too?

     

  10. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    12 May 2014 in reply to Nikolay
    Link to this post

    @Nikolay,

      Am I right in reading that Sitefinity can handle this structure, but the UI is what's preventing it from working?

     Would need the parent slug yes, couldn't hurt for SEO as well...
    /cities/toronto/restaurants/place1
    /cities/toronto/parking/place1
    /cities/toronto/attractions/place1
    ...so sure these could be catagories, but this is just an illustration of our need for more complex types.

     Cascading delete yes, wont be an issue though with the 7.1 recycle bin...could always get the children back.

     Steve

  11. Mike
    Mike avatar
    12 posts
    Registered:
    07 Mar 2014
    13 May 2014
    Link to this post

    "Am I right in reading that Sitefinity can handle this structure, but the UI is what's preventing it from working?"

     Can we get clarification on whether this is a UI limitation on the Module Builder?  I have no problem building a custom module to structure the data the way I need it to to be, multiple child types and all.  I just don't know if it's possible.

  12. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    14 May 2014
    Link to this post
    Hello,

    Thank you for your interest in that functionality.

    We are discussing the questions raised and will prepare detailed answer of that matter.

    Regards,
    Svetoslav Manchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  13. Mike
    Mike avatar
    12 posts
    Registered:
    07 Mar 2014
    16 May 2014
    Link to this post

    Any update on a formal response?

    I greatly appreciate you looking into this on your end.

     Thanks

  14. Kali
    Kali avatar
    158 posts
    Registered:
    25 Feb 2009
    19 May 2014
    Link to this post

    Hi Mike and all,

    our idea is to solve this problem using Related Content, by extending the existing functionality to support grid views. The initial wireframes are posted in this thread.

    Please review and let us know what you think of the proposed approach.
    I suggest we continue the discussion there.

    The major questions I have to you is:
    >> In hierarchies, how do you want permissions to behave?
    >> Do you expect to use cascading delete, i.e.: Deleting a parent should delete the child items as well?

    Regards,
    Kalina

  15. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    19 May 2014 in reply to Kali
    Link to this post

    @Kali

    ...I don't think you guys understand the problem, or addressed the root question?  This problem *ISN'T* solved with related content.

  16. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    26 May 2014
    Link to this post

    Attention all: Good news...this is coming for 7.1, please provide feedback

    http://www.sitefinity.com/developer-network/forums/upcoming-features/multiple-child-types-in-module-builder-for-sitefinity-7.1#Qp9YwpLjlkqEOVWOkNvpZA

    Thx Kali

16 posts, 0 answered