Getting ALL the PreValues

To extract all the values from a data type in umbraco, you will need to use the new Services to correctly extract them

ApplicationContext.Current.Services.DataTypeService.GetPreValuesByDataTypeId(int);

umbraco.library is the previous way of extracting this information and will make it harder to upgrade your applications in the future

Advertisements