Triggering a push
There are three ways of triggering a push of items to Salesforce:
-
Using an event-handler-based push.
-
Using manual push.
-
Using a PushAgent.
Using an event-handler-based push
When you create an SFMC Configuration item, a subtree of the media root item, as well as the media root item itself, start to be observed by event handlers that respond to create/update/delete operations on media items. Changes within the observed trees are available on Salesforce in a few seconds.
Using manual push
Occasionally, the event-handler-based push does not ensure that items pushed to Salesforce or redundant assets and categories are removed.
For example, if you specify a non-empty media root item in the SFMC Configuration item, or the SFMC Configuration item is removed, you might not want to start the time- and resource-consuming process of synchronization at that time. You then have to trigger a push process manually.
To trigger a manual push:
-
In Sitecore, open the Developer tab in the Content Editor ribbon with master as a content database.
-
In the SFMC Connector group, click Push media.
The push process starts in the background and it goes through all observed Media Roots and ensures that the categories and assets structures in Salesforce are identical with the ones in Sitecore.
Only users with the Developer role or admins can use the Push media button.
Using a PushAgent
Alternatively, you can use a PushAgent that runs every 10 hours by default and behaves like a manual push.