Enabling automatic syncing of your IntelligenceBank content in Sitecore

Modified on Thu, 30 Oct at 4:43 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, i.e. /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 (“|”). e.g. /sitecore/media library/{{IntelligenceBank Folder Name 1}}|/sitecore/media library/{{IntelligenceBank Folder Name 2}}.

Under the Schedule field, enter the following details:

- Start Date & Time

- End Date & Time

- Frequency

In the following order and format:

YYYYMMDDTHHMMSS|YYYYMMDDTHHMMSS|127|HH:MM:SS

What does 127 correspond to, and what can I update this value to?

In the schedule definition item, in the Data section, in the Schedule field, enter a parameters to control the schedule, separated by piple (“|”) characters. The first parameter indicates the start date for the schedule in yyyyMMdd format. The second parameter indicates the end date for the schedule in the same format, The third parameter indicates the days of the week on which to run the task. This basically works like a bit mask, where 1=Sunday, 2=Monday, 4=Tuesday, 8=Wednesday, 16=Thursday, 32=Friday, and 64=Saturday. So Monday through Friday is 2+4+8+16+32=62, while every day is 1+2+4+8+16+32+64=127. These values come from the Sitecore.DaysOfWeek enum. The fourth parameter is the minimum interval between invocations of the task in HH:mm:ss format.

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