BES calendar synchronization tool
Aloha! I am back blogging after a holiday in Hawaii…
I was working with a client who had an end user with a calendar pre-population issue. Recurring calendar appointments did not pre-populate after resetting the calendar nor after an enterprise activation.
Via a command prompt, I ran the Calendar Synchronization Tool located under the tools sub-folder in the BES installation media folder C:\Research In Motion\BlackBerry Enterprise Server 5.0.3\bundle0033\tools. I ran each command below:
TraitTool -user affecteduser@mycompany.com-trait ExchangeSmartSyncEnable -set true
TraitTool -user affecteduser@mycompany.com -trait ExchangeSmartSyncSchedule -set Daily
TraitTool -user affecteduser@mycompany.com -trait ExchangeSmartSyncDays -set 365
TraitTool -user affecteduser@mycompany.com-trait ExchangeSmartSyncTriggerHour -set 23
TraitTool -user affecteduser@mycompany.com-trait ExchangeSmartSyncSendUpdate -set true
This command ExchangeSmartSyncDays indicates how many days in the future BES will scan the user’s calendar and populate the device. By default it is set to 30 days. After the commands executes, you can see the smart sync kick off with the following log line in the MAGT log:
[40000] (01/26 23:07:00.338):{0x2A00} {affecteduser@mycompany.com} SmartSyncFireOff – SmartSync triggered – SyncDays=365, Sched=Daily, SendUpdate=1
It took 7 minutes to complete and we can see the additional 41 calendar appointments sent to the device:
[40583] (01/26 23:07:08.197):{0x19E4} {affecteduser@mycompany.com} Sending packet to device, Size=60, Tag=11088654, TransactionId=-819881007
[40279] (01/26 23:07:08.197):{0x19E4} {affecteduser@mycompany.com} SubmitToRelaySendQ, Tag=11088654
[30249] (01/26 23:07:08.275):{0x19E4} {affecteduser@mycompany.com} Sending 15 calendar entries to the device, size=15642
[40583] (01/26 23:07:08.275):{0x19E4} {affecteduser@mycompany.com} Sending packet to device, Size=15679, Tag=11088655, TransactionId=-819881006
[40279] (01/26 23:07:08.275):{0x19E4} {affecteduser@mycompany.com} SubmitToRelaySendQ, Tag=11088655
[30249] (01/26 23:07:08.291):{0x19E4} {affecteduser@mycompany.com} Sending 11 calendar entries to the device, size=15241
[40583] (01/26 23:07:08.291):{0x19E4} {affecteduser@mycompany.com} Sending packet to device, Size=15278, Tag=11088656, TransactionId=-819881005
[40279] (01/26 23:07:08.291):{0x19E4} {affecteduser@mycompany.com} SubmitToRelaySendQ, Tag=11088656
[30249] (01/26 23:07:08.322):{0x19E4} {affecteduser@mycompany.com} Sending 15 calendar entries to the device, size=3933
[40583] (01/26 23:07:08.322):{0x19E4} {affecteduser@mycompany.com} Sending packet to device, Size=3970, Tag=11088657, TransactionId=-819881004
[40279] (01/26 23:07:08.322):{0x19E4} {affecteduser@mycompany.com} SubmitToRelaySendQ, Tag=11088657
[40000] (01/26 23:07:08.322):{0x19E4} {affecteduser@mycompany.com} Sending CAL_SLOW_SYNC_DONE to device. SessionID=1327637227, Record counts=41
For more information, check out these KBs:
What is the BlackBerry Calendar Synchronization Tool ?
How to use the BlackBerry Calendar Synchronization Tool (Traittool.exe)
Leave a Reply