Our monthly Virtual Happy Hour is happening this week, Fri Feb 23!
I have a property called subtitle in a base page and would like to overwrite this property with a default value. What I'm trying is to do the following, but the field do not appear in the CMS
public override string SubTitle => ServiceLocator.Current.GetInstance<LocalizationProvider>().GetString(() => PageResources.Vacancy.Subtitle);
Is there anyway to do that?
I'm running EpiServer 10.10.4
Why you need it on CMS edit mode if you are returning value from localization provider?
If you would like to assign default value and give option for editor to overwrite it, then you would need to declare property are ordinary page property and implement `SetDefaultValues()` method and set value for the property there.
Please refer below article for this-