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.

FM Go & GPS call from filemaker app

Featured Replies

Hi everybody,

 

I saw the function of localisation in the ios device and insert from URL.

But is it possible to call a script on the ios device form the filemaker app. For exemple I want to know where the device is and click on a button from the filemaker app, not from the device ?

 

Do you also have exemple fo native gps of the device and call it form the application in case filemaker go is not open on the device ?

Kind regards
Antoine

  • Author

Hi thank you very much. I got this part.

But how to ask from the app on my computer to ask the device to send the lat & long ? Can I run a script on the device from my computer ?

And what to do if the database is not open on the device ?
Then I would like a GPS from the device to send data every x minutes. But this I really don't know how to do. It seems that people have done that.

 

Kind regards
Antoine

The location functions are only available on the "device" running FMGo which is iPad or iPhone.  The function is not available on the desktop.

The database must be open and you must run a script to get the GPS data constant polling for your Location would not be ideal for battery life of the device. 

You may be better off using Shortcuts on the device and send results to the FileMaker app you have on device. 

  • Author

thank you for the reply. I'll go and look into shortcut.

Kind regards
Antoine

  • Author

Hi Ocean,

can you help me with my shortcut ?
I think I'm ok because when I try from my computer via a URL data api solution I can create record into my database.

But from my short cut with the same URL & login, I get a token but when I use the api for record creating I get a missing header error.

Do you see something weird ? 

Thank you very much for your help

Antoine

IMG_2121.PNG

IMG_2122.PNG

IMG_2123.PNG

IMG_2124.PNG

  • Author

Hi,

 

I found the mistake myself. There was 2 times the MyToken variable into the url header after Bearer. Not easy to see on an iphone but saw it on the mac.

For the one who wants to copy the steps.

 

have a nice day.

Antoine

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.