Language Fallback doesn't work for glass Sitecore query

148 views Asked by At

I am using sitecore 8.2 and glassmapper 4.3.

I am able to get fallback item using Isitecorecontext.GetItem<T>(path) but when I tried to read item using sitecore query like below

  public partial interface T
{
    [SitecoreQuery("./*[@@templatename='TemplateName']", InferType =true, IsLazy = true, IsRelative = true)]
    IMultiSiteContext ConfigurationRoot { get; set; }

}

ConfigurationRoot is extra property created in partial interface of that T

0

There are 0 answers