Enabling automatic syncing of your IntelligenceBank content in Sitecore

Modified on Tue, 30 Jun at 2:07 PM

You can automate the syncing of your IntelligenceBank content at a set interval by leveraging Sitecore's native task scheduler.

To set a sync task, go to System > Tasks > Schedules, and open the "auto sync intelligencebank accounts" item.

Under the Items field, specify the path to the IntelligenceBank Folder in the media library that is to be synchronized:

/sitecore/media library/{{IntelligenceBank Folder Name}}

If you have multiple IntelligenceBank Folder instances and would like to sync several or all of them, simply separate each path by a pipe character ("|"):

/sitecore/media library/{{IntelligenceBank Folder Name 1}}|/sitecore/media library/{{IntelligenceBank Folder Name 2}}

Under the Schedule field, enter the start date and time, end date and time, and frequency in the following format:

YYYYMMDDTHHMMSS|YYYYMMDDTHHMMSS|127|HH:MM:SS
  • Start Date & Time
  • End Date & Time
  • Frequency

Schedule Field Reference

The four values in the Schedule field are separated by pipe ("|") characters:

Parameter Description
Start date Start date for the schedule in yyyyMMdd format.
End date End date for the schedule in the same yyyyMMdd format.
Days of week A bitmask controlling which days the task runs. Values come from the Sitecore.DaysOfWeek enum: Sunday=1, Monday=2, Tuesday=4, Wednesday=8, Thursday=16, Friday=32, Saturday=64. Monday through Friday = 62; every day = 127.
Frequency Minimum interval between invocations in HH:mm:ss format.

Additional Settings

Async field should be enabled.

In the schedule definition item, in the Data section, select the Async checkbox to cause the task to run asynchronously.

Auto remove field can be disabled.

In the schedule definition item, in the Data section, select the Auto Remove checkbox to cause Sitecore to remove the schedule definition item after invoking the task. This setting only comes into play after the expiration date defined in the Schedule field.

You will be able to track when the last sync occurred in the Last run field.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article