Copied to clipboard

Flag this post as spam?

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


  • Steffen Hornbæk Nielsen 54 posts 165 karma points
    Mar 01, 2024 @ 09:59
    Steffen Hornbæk Nielsen
    0

    Usync sync from Prodution to staging environment - Sorting is not part of sync

    Hi folks,

    On of our customers came up with a rather interresting question about syncing of data using Usync. They do a lot of work on Production, like creating new content (not types or anything), but when they later on want's the data to be on staging, they use Usync to do this and it works great :D

    The only problem is that new content that is created on staging, is not in the same order as on production.

    Is there a way to ensure that when data is synced, that the sort order is the same or any known workarounds?

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 05, 2024 @ 14:57
    Alex Skrypnyk
    0

    Hi

    There was an issue with sortorder in Usync, can you check out this thread - https://our.umbraco.com/packages/developer-tools/usync/usynccomplete/108909-sort-order-of-subpages-is-not-published-to-live-server

    Thanks, Alex

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 05, 2024 @ 22:26
    Kevin Jump
    0

    Hi

    On the latest versions sort, should work for this, but there are things where it won't work, because it doesn't know enough too work.

    if you change the sort order of a load of content items, and then only push one or two of those items, you are not pushing (or pulling) them all, uSync won't update the sort order of all the items you don't push.

    If have item A(1), B(2), C(3) and D(4) and you sort them D(1),C(2),A(3),B(4) but then only push A and b. the sort orders will be A(3), B(4), C(3), D(4), so that won't show the sort order you think it has.

    However, If you push/pull the whole folder. then the sort orders will be updated.

Please Sign in or register to post replies

Write your reply to:

Draft