Setting page Changed date programmatically



I am writing a scheduled job which retrieves data from an existing database and imports it as pages into EPiServer (updating or creating published pages). I have found I can set the StartPublish date, the Created date, but I cannot set the Changed date. Is there any way around this? As I am trying to set the Changed date to be the date it was last updated in the other database.


Jul 23, 2014 4:27

Hi Sharon!

Did you get any solution to this, I'm about to look into the same issue.


Jan 09, 2015 8:37

Like Linus describes in an answer to me here:

There is a configuration settings: UIDefaultValueForSetChangedOnPublish, if you set it to true, I think that date will be set when you publish the page

Jan 09, 2015 9:31

Nice, thanks Henrik! I'll have a look.


Jan 09, 2015 11:43
* 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.