I have created a custom data type in back office which is of type drop down, I have added pre value to the same. How can I get this pre values and create a drop down list in the front end. I am using Umbraco 8. I have been following https://codeshare.co.uk/blog/how-to-use-an-umbraco-data-type-to-populate-an-mvc-drop-down-list/ while doing the same and got stuck on step 2 where it says XPathNodeIterator iterator = umbraco.library.GetPreValues(dataTypeId);
Query related to pre values from a custom datas
Hi,
I have created a custom data type in back office which is of type drop down, I have added pre value to the same. How can I get this pre values and create a drop down list in the front end. I am using Umbraco 8. I have been following https://codeshare.co.uk/blog/how-to-use-an-umbraco-data-type-to-populate-an-mvc-drop-down-list/ while doing the same and got stuck on step 2 where it says XPathNodeIterator iterator = umbraco.library.GetPreValues(dataTypeId);
is working on a reply...