Hi
I am trying to get the value of Vorto fields in a controller, is it possible?
This is my code:
public string GetStoreData(string id)
{
var store = uQuery.GetNode(id);
if (store != null)
{
var storeCity = "cityName";
return storeCity;
}
return string.Empty;
}
Get vorto fields in a controller
Hi I am trying to get the value of Vorto fields in a controller, is it possible? This is my code:
Hi Anyone? I am using umbraco 7.2.6 and vorto 1.3 Thanks
Maybe too late...
but if you include:
at the top of your file, you can call .GetVortoValue() on any IPublishedContent object.
is working on a reply...