Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Jul 06, 2012 @ 13:33
    Ismail Mayat
    0

    Property change on document type

    Guys,

    If you have document type that has field mutli text. If you change to rich text edit would existing data be lost or would it be preserved?

    Regards

    Ismail

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jul 06, 2012 @ 13:35
    Dirk De Grave
    2

    Even if datatype should changed, just write a small sql script to copy your data from one column to the other one (cmsPropertyData table)

  • Lee 1123 posts 3059 karma points
    Jul 06, 2012 @ 13:36
    Lee
    1

    It keeps the data bud :)

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Jul 06, 2012 @ 13:38
    Ismail Mayat
    0

    Guys,

    Cheers although one more thing I should have mentioned its a uSiteBuilder site however should still be good?

    Regards

    Ismail

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jul 06, 2012 @ 13:39
    Dirk De Grave
    1

    Yup, you're good to go, haven't experienced any issue while changing datatype using usitebuilder.

     

    /Dirk

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Jul 06, 2012 @ 13:49
    Lee Kelleher
    1

    Luckily both data-types use Ntext column to store their data, so yes - they are hot-swappable.

    Following on from Dirk's answer, if you need to swap between columns, (e.g. Nvarchar to Ntext), there is a SQL snippet on this post:

    http://our.umbraco.org/forum/using/ui-questions/21702-Switch-dbType-from-Nvarchar-to-Ntext-without-data-loss

    Cheers, Lee.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies