added lisview guid - does all editors need that?

This commit is contained in:
perploug
2013-09-19 11:21:59 +02:00
parent 43bbc89a07
commit aa2f020aa4
2 changed files with 8 additions and 0 deletions

View File

@@ -162,6 +162,13 @@ namespace Umbraco.Core
/// </summary>
public const string ListViewAlias = "Umbraco.ListView";
/// <summary>
/// Guid for the list view datatype.
/// </summary>
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
public const string ListView = "474FCFF8-9D2D-12DE-ABC6-AD7A56D89593";
/// <summary>
/// Guid for the Macro Container datatype.
/// </summary>

View File

@@ -100,6 +100,7 @@ namespace Umbraco.Core.PropertyEditors
CreateMap(Guid.Parse(Constants.PropertyEditors.FolderBrowser), Constants.PropertyEditors.FolderBrowserAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.ImageCropper), Constants.PropertyEditors.ImageCropperAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.Integer), Constants.PropertyEditors.IntegerAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.ListView), Constants.PropertyEditors.ListViewAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.MacroContainer), Constants.PropertyEditors.MacroContainerAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.MediaPicker), Constants.PropertyEditors.MediaPickerAlias);
CreateMap(Guid.Parse(Constants.PropertyEditors.MemberPicker), Constants.PropertyEditors.MemberPickerAlias);