Copied to clipboard

Flag this post as spam?

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


  • Gerhard Grossberger 55 posts 179 karma points
    Apr 27, 2016 @ 21:47
    Gerhard Grossberger
    0

    Update exported elements

    I wrote a script to export different datatypes for translation. They are now in separate csv files and being edited. I now tried to reimport the data and overwrite the text content of the old nodes, but CMSImport always creates new entries. I tried using the ID and the GUID of the node, but couldnĀ“t get an update to work. Is it possible to do this kind of export / import or is there something I am missing?

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Apr 28, 2016 @ 05:33
    Richard Soeteman
    0

    Hi Gerhard,

    If you need to update nodes, you need to use the Update option in CMSImport (Pro only). This will add a relation in the cmsimportrelation table between the imported item and the imported node by cmsimport.

    Then next time it will check the relation and when found it will be updated instead of inserted.

    If you need this to work with your file you need to manually add records in cmsimportrelation table. Datakey format is [Provide alias][primary key name][primary key value]

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft