Создание раскрывающегося списка в оптимизации CMS: заполняет IselectionFactory со значениями из свойств другого блока
Создайте блок для удержания вариантов выбора using EPiServer.Cms.Shell.UI.ObjectEditing.EditorDescriptors; using EPiServer.PlugIn; using EPiServer.Shell.ObjectEditing; using System.ComponentModel.DataAnnotations; namespace MyApp.Models.Blocks { [ContentType(DisplayName = “Select Options Block”, Description = “”)] public class SelectOptionsBlock : BlockData { [CultureSpecific] [Display(Name = “Selection Options”, Description = “List of options for the selection list.”, GroupName = SystemTabNames.Content, Order = 100)] [EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor))] public … Read more