Try our conversational search powered by Generative AI!

Export property wont include settings


I want to use an standard dropdown and let the admins decide the values.

But I want to prepoulate the list with data that today is the most recent values. We have a lot of enironments and the list of values is long.

So I tried to enter the values in the global/custom settings dialog in admin mode under edit propert.

The problem is that the values don get exported tho the other environments when i export the page/pagetype.


Any Ideas?


May 13, 2014 16:50

Does anybody know how to access the settings made in admin mode for the property by code?


I would like to read them if defined in my factory



        [BackingType(typeof (PropertyDropDownList))]

        [Display(Name = "Publikationstyp", Order = 1, AutoGenerateField = true, Description = "Välj publikationstyp")]

        public virtual string PublicationType { get; set; }



        [Display(Name = "Pdf")]

        public virtual ContentReference PdfFile { get; set; }



        [EditorDescriptorRegistration(TargetType = typeof (string), UIHint = "PublicationType")]

        publicclassPublicationTypeEditorDescriptor : EditorDescriptor


            public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)


                SelectionFactoryType = typeof (PublicationTypeFactory);

                ClientEditingClass ="epi-cms/contentediting/editors/SelectionEditor";

                base.ModifyMetadata(metadata, attributes);




        privateclassPublicationTypeFactory : ISelectionFactory


            public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata)





                var types = new List<SelectItem>();

                types.Add(new SelectItem() {Value = "Rapporter", Text = "Rapporter"});

                types.Add(new SelectItem() {Value = "Skrivelser", Text = "Skrivelser"});

                types.Add(new SelectItem() {Value = "Informationsmaterial", Text = "Informationsmaterial"});

                return types;





May 14, 2014 10:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.