Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

What is the best practice for retrieving the last sync timestamp?  I want GO users to be aware of how much time has elapsed since their last sync as a reminder to sync often.  I know the timestamp lives on the MirrorSync table, but I would have to make a new occurrence of the MirrorSync table and relate it to all the tables that have layouts that contain the timestamp which seems awkward.  

If I can get a timestamp of the last sync in a global field, I can run it through a custom function that outputs the time ago in words (e.g. 3 hours ago, or 5 minutes ago, etc.), and put it on my interfaces.

Edited by Scotty Nordlund

Hi Scotty,

I don't think you will need to make a new occurrence of the MirrorSync table. Rather, you could create a new layout based on the MirrorSync table. In your script, you would perform a find on the field "type" where it equals "client". Set a variable to the value of the "lastSuccessfulTimeStamp" field and then navigate to the layout that you want to store this information in and store the value of the variable in a field. Once you have it stored you can use that information to compare to the current timestamp and if the difference is past a certain threshold, remind your user to sync. There may be a more streamlined way to do this but that is how I would approach it.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.