Dynamic Module Content Items

Posted by Community Admin on 04-Aug-2018 21:43

Dynamic Module Content Items

All Replies

Posted by Community Admin on 07-May-2014 00:00

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.

Posted by Community Admin on 08-May-2014 00:00

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.

Posted by Community Admin on 08-May-2014 00:00

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

Posted by Community Admin on 08-May-2014 00:00

+400 , REALLY REALLY want this

Posted by Community Admin on 09-May-2014 00:00

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.

Posted by Community Admin on 10-May-2014 00:00

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
 

Posted by Community Admin on 10-May-2014 00:00

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.

Posted by Community Admin on 11-May-2014 00:00

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.

Posted by Community Admin on 12-May-2014 00:00

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?

 

Posted by Community Admin on 12-May-2014 00:00

@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

Posted by Community Admin on 13-May-2014 00:00

"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.

Posted by Community Admin on 14-May-2014 00:00

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
 

Posted by Community Admin on 16-May-2014 00:00

Any update on a formal response?

I greatly appreciate you looking into this on your end.

 Thanks

Posted by Community Admin on 19-May-2014 00:00

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

Posted by Community Admin on 19-May-2014 00:00

@Kali

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

Posted by Community Admin on 26-May-2014 00:00

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

www.sitefinity.com/.../multiple-child-types-in-module-builder-for-sitefinity-7.1

Thx Kali

This thread is closed