On XbK, I have a page content type with a field called Categories as taxonomy data type. I'm trying to retrieve the Categories tags associated with a page. I'm able to retrieve the tags GUIDs but the TagReference class only allows Identifier property. How do I convert the tag GUID to tag Name so the tag name actually displays? This is an example of how I successfully retrieve the Categories tags (GUIDs) associated with a page in my View:
@foreach (var pageItem in Model) { @foreach (var tag in pageItem.Categories) { @tag.Identifier } }
Environment
Xperience by Kentico version: [30.4.1]
.NET version: [8|9]
Execution environment: [SaaS|Private cloud (Azure/AWS/Virtual machine)]
Link to relevant Xperience by Kentico documentation