Hi Team,
I am using EditorDescriptor attibute as below in one of Page Type.
[EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor<Facilities>))]
public virtual IList<Facilities> Facilities { get; set; }
public class Facilities
{
[AllowedTypes(typeof(FacilityPage))]
public virtual ContentReference Facility { get; set; }
public virtual bool IsDefault { get; set; }
}
But in CMS edit, users can see content reference id insted of name. Please refer below screenshot reference.
I have tried below link but that approach has some issues. It was not working some times and also facing issues with table grid add/remove if i follow below link changes.
https://gregwiechec.com/2015/12/propertylist-with-images/
Is there any out-of-box helpers method to show page type name property? Or Can anyone please suggest to acheive this.
Thanks,
Suresh B