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

I have a requirement for three different database access mechanisms.
A Collection db for field use which collects and sends data to the server but does sync from the server to the mobile.
A Viewer db which syncs all data from the server but cannot change or delete records
A Management db which can both read, write and delete records and syncs both ways.

Ideally this would be a single db with different login ID, but…

I looked at the business rules section of FMSync and it seems to deal only with pull.
So based on login, I could use it to block pull of all data for Collection db, or I though perhaps use
appropriate privilege sets to differentiat the three types of access, but I am not sure that this works.

So I tried something a little unusual.
I created a set of both ES_ and ES_PUSH_ instances of my tables in the server.
For Collection db I just have ES_PUSH instances and for the Management db just have ES_ instances.

This works nicely with one exception.

When I create a record in Collection, which then nicely pushes the record to the Server. 
Then when I go to look at that record with Management db and sync with the Server
the record from Collection does not appear.  If I use SyncUtil Script and
Reset ES_UTC_Time in the Management db then all the records
from the Server sync correctly including the record posted by the Collection db.

The problem is that as the db grows downloading the entire db for review instead
of a more normal incremental update will take too long.

So, the question is why is this reset required.  
It is almost as if the time stamp ES_UTC_Time data remains in the ES_PUSH_
table instances instead of becoming part of the original table.

Server db

Screen_Shot_2015-05-26_at_3.39.24_PM.thu

Collection db

Screen_Shot_2015-05-26_at_3.40.55_PM.thu

Management db

Screen_Shot_2015-05-26_at_3.41.21_PM.thu

Any Suggestions are most welcome

Thank you

 

  • Author

Noticed that a record created by the Field db on iOS sync'd without problem to the Management db on the Mac...  uhmmm...  memories of a method used to solve the round trip problem.  Perhaps that is what I am tripping over.

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.