web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Resco Woodford Field Service App stuck in synchronization

(0) ShareShare
ReportReport
Posted on by

Hello,

I have an issue with synchronization in offline mode in the Field Service application. If I am offline, the app is stuck in synchronization mode when I open a new record. I can solve the problem by manually syncing, but if I save and go back and reopen the record, it gets stuck again. Please see the video below:

[View:/cfs-file/__key/communityserver-discussions-components-files/764/2019_2D00_11_2D00_19-14_2D00_43_2D00_33trim.mp4:749:562]

Does anyone know how to fix this issue? Thanks

I have the same question (0)
  • Verified answer
    Thomas David Dayman Profile Picture
    11,323 on at

    This has happened to me in the past.

    If you go to the offline html section and go into the BookableResourceBooking folder and open the JavaScript file.

    On like 357 to 369 there is this function:

       performBackgroundSync: function () {

           /// <summary>Perform background sync.</summary>

           /// <param name='msgBox' type='Object'>messageBox object.</param>

           msgBox = MobileCRM.UI.EntityForm.showPleaseWait(FS.BookableResourceBooking.localization.get("Alert.SyncInProgress"));

           // Register 'SyncFinished' event when synchronization is done.

           MobileCRM.bridge.onGlobalEvent("SyncFinished", FS.BookableResourceBooking.handleSyncFinishEvent.bind(this, msgBox), true, null);

           // Following line initiates the background synchronization if the last synchronization was performed before given Date.

           // It requires "Save password" being active which has been checked beforehand

           MobileCRM.Application.synchronize(true, new Date());

       },

    If you comment this out it wont do this syncing anymore.

    The function I think does something like below:

    // check to see whether the server side and the client side of the record have a different date and time
    // if not, check to see whether settingsRequiredForBackgroundSync is true or not.
    // if true, do the background sync.
    // if false, set required settings before doing background sync

  • Community Member Profile Picture
    on at

    Thank you, this fixed the problem :)

  • Suggested answer
    ashish12 Profile Picture
    3,079 on at

    Please close the thread if issue is resolved.

  • Community Member Profile Picture
    on at

    I have verified an answer. How do I close the thread?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans