I am able to get Guid
of seleced items by Glass Mapper but i don't know how i can get those item by Id and show them on view.
Glass mapper property that i am using is:
[SitecoreField("Media Links")]
public virtual string MediaLinks { get; set; }
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.
Sign up to join this communityI am able to get Guid
of seleced items by Glass Mapper but i don't know how i can get those item by Id and show them on view.
Glass mapper property that i am using is:
[SitecoreField("Media Links")]
public virtual string MediaLinks { get; set; }
What about mapping them directly to an Object instead of a string?
Something like this:
public virtual IEnumerable<MyItem> { get; set; }