Is there a way to make Glass Mapper to filter out items which have "Hide versions" standard field checked?

  • What glass mapper version are you using? There is an issue on glass mapper 5 that displays items even if the version count is 0. Commented Jul 2, 2021 at 13:06

1 Answer 1


You can try with

public class YourCustomModelClass : GlassBase 
    [SitecoreField("__Hide version")]
    public virtual bool HideVersion{ get; set; }

by putting it into the required class or in the parent class you have already standard field properties are available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.