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; }

What about mapping them directly to an Object instead of a string?

Something like this:

public virtual IEnumerable<MyItem> { get; set; }
  • @Rakesh don't forget to accept this answer if you think it helped you solve the original problem. – Hugo Santos Feb 26 '19 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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