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?
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.
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?
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
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.
is working on a reply...