London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
I suppose you could use the standard way of setting default values in Episerver, which is to override SetDefaultValues:
public override void SetDefaultValues(ContentType contentType) { base.SetDefaultValues(contentType); //Set values here }
This will only work on new content though.
Hi,
I have a string property marked with the SelectOne property, which displays as a drop down in the editor:
How can I declare a default value for the drop down?
Many thanks