Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I've a string property on my Page with the
[SelectMany]
attribute, and I need to create the page and fill the property programmatically.[CultureSpecific] [SelectMany(SelectionFactoryType = typeof(MyItemsSelectionFactory))] public virtual string MyItems { get; set; }
at the moment I'm using the following for setting the value of [SelectOne] properties...
myObj.MyItem = "99" // where 99 == ContentReference.ID of target page
which works ok, but how do i set multiple values at once?
EPiServer.Shell.ObjectEditing.SelectManyAttribute