The following code sample works for setting the property Headline, but editor fields for "visible in menu" and "visible in sitemap" aren't updated accordingly:
public override void SetDefaults(EditablePage editablePage) {
editablePage.SetVisibleInSiteMap(true);
editablePage.SetVisibleInMenu(true);
editablePage.SetProperty("Headline", new StringProperty("Test"));
}
SetDefaults should be able to handle all values that could be set.
The following code sample works for setting the property Headline, but editor fields for "visible in menu" and "visible in sitemap" aren't updated accordingly:
SetDefaults should be able to handle all values that could be set.