I\'m totally confused as to why this isn\'t working. I have a class with a list of other classes as a property of it:
public class Widget
{
....
public
I got a solution, don't ask me why this works because I found it though trial and error. Basically doing this seemed to make it work:
[SitecoreType(AutoMap =true)]
public class Widget
{
....
[SitecoreField(FieldType =SitecoreFieldType.TreelistEx)]
public virtual IEnumerable<WidgetButton> Buttons { get; set; }
}
specifically I think specifying the FieldType
.