I'm implementing DXA(STRI, SDL Tridion Reference Implementation). I cannot get keyword properties(ID,title, description,key and metadata) which is selected in component field.
When I defined a string property corresponds with a keyword field in model class, the property returns selected keyword's description. If it doesn't have description value, keyword's title is returned. My model class is following, where corresponding schema title is "Link", and keyword fields's name is "linkType".
namespace Sdl.Web.Site.Areas.Test.Models
{
public class Link:EntityBase
{
public string LinkType { get; set; }
}
}
How can I get keyword's other properties(ID, key and metadata)?