Hi, I'm trying to set the "Update modifed date" to be checked by default and to always update the Modified date on every save, unless the checkbox is unchecked by the user.
I've found the uIDefaultValueForSetChangedOnPublish attribute and set this to true in episerver.config, but it doesn't work as expected. The "Update modified date" checkbox in EPiServer is still unchecked by default.
Is there something else I need to do to use the uIDefaultValueForSetChangedOnPublish attribute, or another way to achieve this functionality?
Its been a while since I also was looking into this. Set the proprerty in episerver as you say seems to does the trick. However can I see that I have added code that is called on PublishingContent event that set this or Mediafiles (currentContent as MediaData).SetChangedOnPublish = true;
To be clear, "Update modified date" doesn't update on every save, only when you publish the content.Add uIDefaultValueForSetChangedOnPublish="true" to <episerver><applicationSettings> should be enough.There was a bug about the "Update modified date", but it was fixed in EPiServer CMS UI 11.1.0 (https://world.episerver.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-8263)