Copied to clipboard

Flag this post as spam?

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


  • Ferdy Hoefakker 214 posts 248 karma points
    Jul 03, 2012 @ 10:14
    Ferdy Hoefakker
    0

    Updating xml from database

    Not sure if this is the right place or if this has been asked before. I tried searching but couldn't really find a similar problem.

    A client of ours has been running a website and they have been making links to another website. The problem however, is that this other website was still on a test url. So now, after it going live, all those links are no longer working and they want us to come up with a fix that's easier than just manually stroll through all pages and adjust the links.

    So, I set out to update the replace all the links in the database with a simple update script for the cmsContentXml table. I see the links get updated in the database, but umbraco gets the data from somewhere and then overwrites it in the database again.

    Now, I know there is an XML cache in the umbraco.config file. So I deleted that file to have umbraco genererate a clean one from the database. Or atleast, I assumed that's how it'd work. But there's apparently another place it can get the data from and use it to overrule the database.

    So, where do I need to update?

    We are running on 4.5 btw.

    Kind regards,

    -Ferdy

  • Ferdy Hoefakker 214 posts 248 karma points
    Jul 04, 2012 @ 08:51
    Ferdy Hoefakker
    0

    I could really use an answer to this as it is quite urgent.

    -Ferdy

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Jul 04, 2012 @ 10:28
    Richard Soeteman
    1

    HI Ferdy,

    You shoudl have a look at the cmsPropertyData table that holds the real data.

    Cheers,

    Richard

  • Ferdy Hoefakker 214 posts 248 karma points
    Jul 09, 2012 @ 15:21
    Ferdy Hoefakker
    0

    Thanks Richard! That did the trick. Wish I could have responded sooner, but flu kept me in bed ;)

    -Ferdy

  • 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