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.

If (WebBrowser) then....

Featured Replies

Is there a way to make a button inactive if the user is viewing the database from a web browser as opposed to the FM application?

I have a script that contains some functions that ARE web compatible, and some functions that are not web compatible within the script attached to a button.

If a web user clicks the button, it runs part of the script (the part that IS web compatible) and ignores the non compatibile part, which then breaks the data in the database.

Edited by Guest

Try the Get(ApplicationVersion) function.

  • Author

That could get me there, but I am having trouble figuring out how to test this, and make it work.

Ideally, it would be something like:

SetVariable[$$AppVersion, Value:Get(ApplicationVersion)]

If[$$AppVersion <> "Web"]

Cut[select; Database:DocPath_Field]

Insert File[Reference; Database::Container]

End If

But that is not actually working. First, How do I test what $$AppVersion Is? Just Assign it to an empty field? Second, I probably need help with syntax in the If Statement... Or there is a much simpler way to do this that I am overlooking... (probably.. : )

  • Author

I also tried this to test and this didnt work.

a Script on a button that did this:

SetVariable[$$AppVersion, Value:Get( ApplicationVersion )]

Insert text[select; Database::CurrAppVersion_Field; "$$AppVersion"]

But that just puts "$$AppVersion" in the CurrAppVersion_Field Field...

Any help would be greatly appreciated.. As you can tell, I am very new to this. But I find it facinating!

Try Set Field[] instead.

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.