November Happy Hour will be moved to Thursday December 5th.

Setting "Update modified date" to checked by default for all Saves

Vote:
 

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, which does check the "Update modified date" checkbox in EPiServer as expected. But unfortunately does not actually update the Modified date when saving and publishing (while debugging, the PageData SetChangedOnPublish property is still false). It does not update unless I uncheck, and then recheck the "Update modified date" checkbox.

Is there something else I need to do to use the uIDefaultValueForSetChangedOnPublish attribute, or another way to achieve this functionality?

Cheers
Sharon

#88469
Jul 15, 2014 1:03
Vote:
 

Hi Sharon,

There's a known bug for this and should be fixed in the next release.

http://world.episerver.com/Support/Bug-list-beta/bug/111460/

/T

#88470
Jul 15, 2014 1:43
Vote:
 

Thanks for the quick response Toni

#88471
Jul 15, 2014 1:53
Vote:
 

Excellent, that solved my task very quickly. I had to modify my Web.Config and add the property uIDefaultValueForSetChangedOnPublish="true" in section EPiServer.Configuration (applicationSettings)

E.g:

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection">

         <applicationSettings uIDefaultValueForSetChangedOnPublish="true" .........../>

</episerver>

#162174
Edited, Oct 12, 2016 8:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.