Repeating List in a content template

Sep 17, 2015 at 8:17 PM
Edited Sep 17, 2015 at 8:18 PM
Not sure how to go about this, so I am asking for help. What I want to do is create a content template (not app) that has content and a repeating list.

Do I need two separate entities? Use the presentation options for my non-repeating fields? Below is a screenshot of my design.

Sep 17, 2015 at 8:26 PM
I think I would set this up as listcontent entity module as listcontent entity feature as content

entity:module - title - intro - opentext - opneurl - switchtext - switchurl

then you can use the edit list values to get to the above items
Sep 17, 2015 at 8:38 PM
Forgot to mention that this template is also a list. So a list within a list. Possible?
Sep 17, 2015 at 8:53 PM
   @foreach (var e in List)
                        var Content = e.Content;
                        var cid = Content.EntityId;
Sep 18, 2015 at 6:56 AM
Probaby the most common 2 ways are
  1. The top-level list has a field Items or Pictures or whatever, which can contain 1-n entities. Then loop through that. Simple to do.
  2. The bottom-level-list has "Parent" property pointing to the parent, and then you user c# to group/sort as you wish and potentially also show the parents in between.
Got it? :)