ISiteSyncSnapIn
Global.asax
Application_Start
EventHandler
SystemManager.ApplicationStart
CustomTypeSiteSyncSnapIn
Created
FileSystemWatcher
Changed
Deleted
Renamed
To subscribe to the Created event, in the constructor of the CustomTypeSiteSyncSnapIn class, add the App_Data\Sitefinity\Test path that will be watched by the watcher and subscribe to the Created event.
App_Data\Sitefinity\Test
SiteSync
Test
dataStore
RESULT: Every time you create a new folder or file inside the Test folder, a log entry for the created item is logged in the database.
NOTE: Immediately after you create a new folder or file, the event is raised. It gets the first (default) name of the item. Therefore, if you want to change the default name of the item, you must implement an event handler for the Renamed event of the FileSystemWatcher class.
GetPendingItems
GetExportItemsCount
GetExportItems
Export
WrapperObject
Wrapper
CommonItemLoader
NOTE: You can choose how you want to export the items – all items in one transaction, or a separate transaction for each entry.
Import
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important