Sitefinity CMS comes with open SiteSync API that you can use to sync custom items between sites.
This tutorial demonstrates how to sync two folders with files that are on the file system, from the source to the target site.
First, you create a folder, named Test, inside your project’s ~/App_Data/Sitefinity folder on both sites. Then, you sync the custom items between the two folders, using the API. You implement the methods of the ISiteSyncSnapIn interface and register the custom types in Sitefinity CMS.
PREREQUISITES: You must have setup the SiteSync between the source and the target servers. For more information, see Configure the servers for synchronization.
The following articles represent the separate steps from the procedure for synchronizing two folders with custom items from the source server to the target server.
PREREQUISITES: Before you perform the tutorial, in both the source and the target projects, create the folder to be synchronized. Place it inside ~/App_Data/Sitefinity folder and name it Test.
At the end of the tutorial, you can see the full code of the tutorial.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.