sitecoresitecore-mvcglass-mapper

Field Level fallback not working on Multilist with search


I have a multilist field(video) with one item tagged and field level fallback enabled. Items that are marked as not Fallback at the item level However, the data did not appear on webpages when I switched to different languages.

Note: Tagged item only avalible on english.

This is glass mapper code to fetch the data and vide field is null for ja. Glassmapper with code

Sitecore Multilist configuration. Field level fallback enabled and one item tagged that item is not fallback. Sitecore Multilist field


Solution

  • Finally I resolved the issue but no assistance from Glassmapper even i sent mail to support team. When i set versioncount = false it is working fine. it is fetching data with final version.

    Language currentLanguage = Sitecore.Context.Language;
    var options = new GetItemByIdOptions(new Guid(columnId)) { Language = currentLanguage, VersionCount = false, Type = typeof(IVideoModel) };
    ISpotlightColumnModel spotlightDetail = _context.SitecoreService.GetItem<ISpotlightColumnModel>(options);