Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Jun 09, 2010 @ 08:37
    Kalle Ekstrand
    0

    Dynamic change of createDate on Nodes from CMS?

    Hello,

    We usually migrate customers old websites from other/older systems to Umbraco.

    The problem comes when we want to move the news articles, and want to keep the old publish dates intact.

    Is it possible to change the creatDate frpm the CMS, or do we need to use SQL Management Studio?

    Or is there any other way to solve this? Maybe another field to use?

    //Kalle

  • Richard Soeteman 4052 posts 12925 karma points MVP 2x
    Jun 09, 2010 @ 09:16
    Richard Soeteman
    2

    Hi Kalle

    Use the CreateDateTime property of the Document object to modify the DateTime 

    document.CreateDateTime = yourDateTimeObject;

    If you use CMSImport for the import you can map directly against the old site datetime field.

    Hope this helps you,

    Richard

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jun 09, 2010 @ 09:53
    Ismail Mayat
    0

    Kalle,

    I updated a version of Richards excellent content maintenance tool as i needed to backdate blog posts see here for link to updated package

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft