I have an integration that sends Dynamicweb product data to another system. As part of the integration, I need to send it the friendly labels for category fields of type List box (e.g. Radiobutton list). I currently have something like this:
var type = p.GetCategoryValue("CategoryName", "CategoryFieldName")?.ToString() ?? "";
This gives me the value of the field in the list box (i.e. something like Cat1) but I am looking for the friendly name (something like "Category 1"). How do I go about that?