The Content Sync Toolkit shows what still needs syncing from an Xperience by Kentico instance, the source, to its Content Sync target, and since beta.5 you sync right from its lists. 1.0.0-beta.6 adds forms, which pages depend on but the lists didn’t show. It also handles the other direction: items that are only on the target, which Content Sync can’t remove, can now go to the target’s recycle bin.

Install or Update

Update the package on both instances, the Content Sync source and target:

dotnet add package XperienceCommunity.ContentSyncToolkit --version 1.0.0-beta.6

A Forms Tab

From Xperience 30.9.0, Content Sync can sync forms, and Content synchronization now has a Forms tab next to Pages and Content hub. Each form is New, Changed, Only on target or In sync, and you sync it from its row or a selection, as on the other tabs.

The Forms tab, with Staging → Production at the top and the Workspace dropdown in the top bar: Event registration 2027 is Changed, Old survey is Only on target and links to the target, and four forms are In sync

A form is Changed when anything Content Sync transfers differs: its name, fields, Form Builder layout, submit button text and so on. Submissions don’t count, because Content Sync doesn’t transfer them.

One thing deserves a warning. If someone deleted a field on the source since the last sync, syncing the form deletes that field on the target, with the data submitted in it. Hover a Changed status to see which fields a sync would remove, before you send it.

On Xperience 31.11.0, forms belong to workspaces, so the tab shows one workspace at a time, picked with Xperience’s Workspace dropdown in the top bar. On earlier versions it lists every form.

Pages Can Take Their Forms Along

A page that shows a form through the Form widget isn’t complete on the target without the form. Xperience’s Sync dialog, opened from the Pages and Content hub lists, now has Include forms, as in Kentico’s own Sync dialog. Tick it and the forms the pages use go along.

The top of Xperience’s Sync dialog: Restore on the target immediately or Postpone restoration on the target, then the Include forms checkbox

It starts unticked, and it’s greyed out for editors without the permission to sync forms.

Move to Recycle Bin on Target

Content Sync only adds and updates. When you delete a page on the source, or someone creates one directly on the target, it stays there, and the lists show it as Deleted here or Only on target. Until now, removing it meant signing in to the target.

Now those rows have a bin button in their Actions column, and when you tick rows, Move to recycle bin on target appears above the list, next to Sync. The bin is red on the rows it can remove, and greyed out on the rest.

The Pages tab with two Deleted here rows ticked, Sync and Move to recycle bin on target above the list, and a red bin button on each Deleted here row; hovering one says Move it to the recycle bin on the target, while the New row’s bin is greyed out

Before anything moves, a side panel lists what will happen, worded like Xperience’s own Move to recycle bin dialog:

The Move to recycle bin on Production side panel: /Seasonal_menu will be moved with its child page, visitors get a 404 error after removal, and /Articles/Coffee_Beverages_Explained is under Not moved because it’s still on the source

  • the pages and content items that will be moved, with the child pages that go with a page;
  • what won’t be moved, and why: it’s still on the source, or the target user may not delete it;
  • what visitors get after removal: a 404 error, the fallback language, or the same redirect you chose when you deleted the page on the source;
  • whether it’s the item’s last language variant on the target, or the other variants stay.

Nothing changes on the source, and everything can be restored from the target’s recycle bin. The target moves the items as the user with your user name there, after checking the same permissions Xperience requires, so a target editor can see who did it.

It’s off until the target turns it on: set ContentSyncToolkit:DeleteFromSource to true in the target’s configuration. The target needs Xperience 30.12.0 or newer, where the recycle bin exists. Forms can’t be removed this way, because deleting a form deletes its submissions, and forms have no recycle bin.

Which Instances You’re Comparing

The top of each list now shows the source and the target, with a dot for how the target answered: green when it did, red when it didn’t. Set ContentSyncToolkit:InstanceLabel and ContentSyncToolkit:TargetLabel to read Staging → Production instead of host names; the hosts show on hover.

The Pages tab with Staging → Production and a Feedback link above the list, Hide items in sync applied, and Incompatible, Unpublished, New, Changed, Moved and Reordered pages

When the target doesn’t answer, rejects the request (a wrong secret looks like a 404) or answers with something unexpected, the list says so, and the Event log gets one warning with the reason and what to check, plus an entry when the target answers again. They’re under source ContentSyncToolkit, with codes like TARGETUNREACHABLE and TARGETRECOVERED.

Tell Me How It Works for You

Next to the instances there’s a Feedback link. It opens a form in the project’s GitHub Discussions, with your toolkit and Xperience versions already filled in, and nothing else. After your first sync with a new version, a short line asks how it’s going, once. The toolkit doesn’t send anything anywhere, and ContentSyncToolkit:FeedbackLinks set to false hides both.

If you’re using it, the beta.6 feedback discussion is the place to tell me what helped, what got in the way, and what you’d like next.

Smaller Fixes

  • The list reloads by itself when a sync from it starts and ends, so you don’t need Refresh to see the new statuses.
  • Scheduled syncs no longer report a timeout while they wait for their time.
  • Xperience’s Sync side panel stays open on versions before 31.11.0, instead of closing when the list reloads.
  • The lists fit a 1440px-wide window, with no sideways scrolling.

Upgrading

Update both instances. With a beta.5 target, the Pages and Content hub tabs work as before; the Forms tab asks you to update the target, and Move to recycle bin on target isn’t offered.

  • The Forms tab needs View on Content synchronization, like the other tabs, and syncing forms needs Xperience’s permission to sync them.
  • Move to recycle bin on target needs the Delete permission on the source, and the same user name on the target with the permissions Xperience requires there.
  • There are no breaking changes for code that uses the toolkit’s public classes.

The release was checked on Xperience by Kentico 30.8.0, 30.9.0, 30.12.0, 31.9.1 and 31.11.0. See Compatibility.md for the full record. It’s still a beta, so APIs and behavior may change before 1.0.0.

What’s Next

Next comes the road to 1.0: a review of the public API, and whatever the feedback on this beta brings up. The Usage Guide has the setup and usage details, and bugs are easiest to follow up as GitHub issues.

Need a Hand With Kentico?

I build the Content Sync Toolkit at Simple[A], a Kentico partner, where we help teams get the most out of Xperience by Kentico:

  • New sites, built content-first: content model, personalization and governance before the code.
  • Upgrades and migrations to Xperience by Kentico, planned so your editors aren’t disrupted.
  • Audits of the Kentico site you already have, with a clear roadmap to improve it.
  • Integrations, training and ongoing support, so your team stays confident with the platform.

We also build tools like this one, to make everyday work in Xperience by Kentico even smoother. If your team could use that kind of help, see what we do at Simple[A].

That’s it for today.

Until the next post!