Skip 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.

Make my database MirrorSync aware

Featured Replies

I hope someone can help me with an elegant solution on how to make my database MirrorSync aware.

I will have users accessing our database through both direct on-line connection to it while in the office, and then using mirrorsync when leaving the office.  The mirrorsync will be used on iPhones, iPads and Laptop computers.

There is certain functionality I want for off-line users, but I am not sure how to detect when they are off-line/using the off-line version.  

Example:  The "Sync" button.  I do not want this to show on the live database, but do want it to show on the off-line version.  What command would I type into the "Hide Object When  " option so the button would only show on the off line version?

Or: How would I send a user to a particular layout when they are using the off-line version?

Or: How would I have a script do one thing if they were on-line, and something else if they were off-line?

I have attempted the above trying various Get functions, but do not have anything reliable figured out.  I know I could accomplish what I need by changing Privilege Sets and/or by making people sign in with different usernames . . .  but I am sure there must be some simple way to do it rather than the horribly complicated solution I am coming up with. 

Any help would be much appreciated - but please keep it simple.

 

 

 

 

If[ Get( MultiUserState ) = 2 ]

//We're connected to FM server

Else

//We're working on an offline file

End If

  • Author

Perfect!!   Thank you very much!  

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.