diff --git a/src/Umbraco.Web/UmbracoHelper.cs b/src/Umbraco.Web/UmbracoHelper.cs index 4aa27259c4..4495fd8cf7 100644 --- a/src/Umbraco.Web/UmbracoHelper.cs +++ b/src/Umbraco.Web/UmbracoHelper.cs @@ -1289,6 +1289,16 @@ namespace Umbraco.Web #endregion + #region Prevalues + + public string GetPreValueAsString(int id) + { + var ds = UmbracoContext.Application.Services.DataTypeService; + return ds.GetPreValueAsString(id); + } + + #endregion + /// /// This is used in methods like BeginUmbracoForm and SurfaceAction to generate an encrypted string which gets submitted in a request for which /// Umbraco can decrypt during the routing process in order to delegate the request to a specific MVC Controller.