Copied to clipboard

Flag this post as spam?

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


  • vapenation 21 posts 139 karma points
    Feb 22, 2017 @ 14:06
    vapenation
    0

    Usync - Merging page content on import

    Hello!

    We're using Usync to synchronize between different Umbraco deployments. We've had an instance where we had to merge changes to various pages from our staging environment to production.

    Usync successfully created missing content pages upon import, but it also seems to overwrite existing content pages and all content completely.

    Is there any functionality in Usync for actually merging content from a specific page during import, so that the XML in the database is simply updated from the XML in the Usync folder rather than replacing it completely?

    Thanks in advance! Let me know if I need to provide any more information

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 22, 2017 @ 14:14
    Kevin Jump
    2

    Hi

    not sure there is. At the moment uSync does a full sync of whatever is in the files to the db - so it will remove / overwrite bits of content as it does so.

    If it's just new content you can mess about with the contents of the content folder in usync so it only contains the new bits, but if you want to merge new and old content in a single item then I think the only real way to do that with usync is to merge xml files from both systems before the import :(

    If it's a one off, then creating a package in umbraco might work, and package installs only perform additive changes to settings / content when they are brought it.

    Kevin

  • vapenation 21 posts 139 karma points
    Feb 22, 2017 @ 14:20
    vapenation
    0

    Thanks! Good to know!

    Since quite a few Umbraco developers seem to be using Usync in a deployment capacity, might this be a good candidate for the feature set?

  • anilkale 15 posts 115 karma points notactivated
    Apr 28, 2020 @ 11:26
    anilkale
    0

    Hi Kevin,

    On your below comment line,

    [If it's a one off, then creating a package in umbraco might work, and package installs only perform additive changes to settings / content when they are brought it.]

    May i know how to create package in umbraco?

Please Sign in or register to post replies

Write your reply to:

Draft