I can't figure out the syntax to refer to a property that is in a Property Block. That is, My PageData has the property:
public virtual InfoBlock Info { get; set; }
where InfoBlock is a BlockData with the property:
public virtual DateTime DateOfEvent { get; set; }
I can't manage to create a PropertyCriteria to check this DateOfEvent property, I have tried Name = "DateOfEvent", "Info.DateOfEvent", "Info/DateOfEvent".
I'm pretty sure the only problem is this 'embedded' nature of the DateOfEvent property because I tried creating a DateTime property directly in the PageData and all works fine.
I can't figure out the syntax to refer to a property that is in a Property Block. That is, My PageData has the property:
public virtual InfoBlock Info { get; set; }
where InfoBlock is a BlockData with the property:
public virtual DateTime DateOfEvent { get; set; }
I can't manage to create a PropertyCriteria to check this DateOfEvent property, I have tried Name = "DateOfEvent", "Info.DateOfEvent", "Info/DateOfEvent".
I'm pretty sure the only problem is this 'embedded' nature of the DateOfEvent property because I tried creating a DateTime property directly in the PageData and all works fine.
Any help would be greatly appreciated.