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!
Hi Jonas, the default values are set when creating new content.
Either approach will work for updating existing content. Refer to this previous post for more guidance. Migration step will run every time on site initialisation so you'll need logic to ensure the your content update code runs once only.
Having implemented a property late in project, the default value should be True which is not the case atm.
Would a migration step or a scheduled job (using Episerver.Find to find all blocks inheriting from that base type) and set the value to True, work best?
Or any other suggestions?