Software tips, techniques, and news.

By Kiyan Allaei  Posted on  May 15th, 2018  in  Free Downloads, FileMaker

FileMaker Go Push Notifications

With the release of the FileMaker Go 17, you can now create a push notification on the user's iOS device. This script step gives you the ability to not only customize the push notification, but also to run scripts after the user interacts with the notification.

Previously there was no way to notify the user if FileMaker Go was either running in the background or closed entirely; however, since iOS provides "local notifications" you can now set up notifications to be triggered at a certain date or time or even if the user's device comes within range of an iBeacon.

Let's take a look at how you can set up push notifications using FileMaker Go.

How to Set Up a Notification

There are two main choices in the Configure Notification script step; "Queue" and "Clear". The "Clear" option allows the developer to specify the name of the notification that will be deleted in the form of a calculation. The "Queue" option does the opposite, configures a local notification based on several specified settings

  • Notification name
  • Script triggered on notification interaction
  • Timed delay for when the notification will trigger
  • Title of notification
  • Body text of notification
  • Button labels (maximum of 3 buttons)
  • Setting buttons to bring application to foreground

The same script will always trigger regardless of which button is selected; however, the script parameter will be set to a return delimited list, with the name as the first value, the button label as the second value, and a Boolean representing whether or not the application was brought to the foreground.

FileMaker Push Notifications Setup

Here is an example of the Configure Notification script step, that has two buttons set up, with one bringing FileMaker Go to the foreground and the other leaving it in the background.

The notification created in this example will return the following list if the second button is selected.

FileMaker Push Notification Result

If notifications are disabled on the iOS device, the notifications will not appear, and the triggered script will be given the parameter "NotificationNotAllowed". If notifications are enabled and the user presses the notification itself and not one of the options, the triggered script will be given the parameter "NotificationSelected".

What If FileMaker Go is in the Background?

Since notifications will often appear when FileMaker Go is not in the foreground, there are different behaviors that will occur based on the status of the application.

If Go is not running when the user interacts with a notification that triggers a script, Go will launch and run its regular startup process before running the triggered script. If the user dismisses the notification and there is no triggered script, Go is not launched.

If Go is running in the background but not closed, re-authentication may need to be done based on the file's security settings before any triggered scripts can run; if re-authentication fails, Go will not launch. By default, Go will be brought to the foreground when a script is run; however, if specified, triggered scripts can run on the application without bringing it to the foreground. Apple's guidelines state that the application only needs to be moved to the foreground if there is required user action, if not it is best to keep the app in the background.

Conclusion

The ability to set local notifications in FileMaker now enables us to grab users' attention even if they are not using FileMaker Go. You can notify users at a specified date and time or if they come within range of an iBeacon or geofence. Using push notifications can help streamline users to where they need to be, saving them time and eliminating the need to create outside reminders for daily tasks.

Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.

Download
Download the Push Notifications for FileMaker Go File
Please complete the form below to download your FREE FileMaker file.
FileMaker Experience *
Terms of Use *
OPT-IN: I agree that I am downloading a completely free FileMaker application file with no strings attached. This file is unlocked, and I may use it for my business or organization as I see fit. Because I am downloading a free file, I agree that I should receive occasional marketing. I understand that I can OPT-OUT of these emails at anytime.
Kiyan Allaei thumbnail
Kiyan Allaei

Kiyan is an outgoing and energetic certified FileMaker developer whose technical passion is the world of databases. His collaborative and positive attitude creates a natural draw for clients seeking solutions to meet their database needs.

FileMaker 18 Certified Developer
FileMaker 17 Certified Developer
FileMaker 16 Certified Developer
FileMaker 15 Certified Developer
FileMaker 14 Certified Developer
FileMaker 13 Certified Developer
FileMaker 12 Certified Developer
FileMaker 11 Certified Developer
"We were actually able to add more features than we thought would be possible within our budget. We always experienced a ‘can do’ attitude and DB Services was incredibly patient and easy to work with."
Courtney Hartman
Art Director
"The new FileMaker custom website interface is very user-friendly and easy to follow for our clients. In addition, it is much faster than the old Instant Web Publishing (IWP) interface. Thank you and all the others who have helped us out at DB Services. I am very grateful for the excellent service you provide us. Its nice to know we can call you for help if we have an issue."
Wayne Capek
President
"We needed a solution that would simplify the administration of our responsibilities under our contract with the State of Indiana. We have seen a dramatic increase across the state in the number of potential foster and adoptive parents that have begun the preparation and training process. This increase has resulted in a significant opportunity for children available for adoption. That’s a big win for everyone! And it’s all because we can refer potential parents to the proper state contacts efficiently and quickly."
Chris Morrison
Executive Director
"Thank you for all of your expertise and valuable help. I am so grateful to have found DB Services."
Linda Findlay
Owner
"Thank you for our new database system. We transitioned from a carbon copy paper based system to a digital database. The software has saved us time and money. We used to archive all our jobs in cabinets, now we can look up a job in seconds from anywhere. The software allows us to easily email estimates to our customers in pdf format. In a year there was a return on investment just from eliminating the purchasing of our carbon forms."
Todd Cartmel
Owner
"The new system allows us to create and track jobs for customers along with inventory, something we had been doing with separate word and spreadsheet files. Because it’s now so intuitive, new staff members are able to begin using the database immediately without our usual training session and ‘cheat sheets’ for getting around within the file."
Tom Andrews
President