FileMaker tips, techniques, and news.

By Mason Stenquist  Posted on  August 10th, 2016  in  FileMaker, Free Downloads

FileMaker Cross Platform Notifications

Keeping a large team of mobile users informed and updated with information vital to their jobs is essential in this modern world, but not everyone has an iOS device and even if they did, it’s not practical to have the app open and waiting for the information. One solution is to keep your users informed with the use of notification. Using native FileMaker and a service called Pushover we can easily leverage cross platform notifications with advanced features like message priority, which allows you to repeat a notification until the user acknowledges it.

Pushover Icon

Creating a Pushover Account

To begin we will need a free account with Pushover.net. All pricing involved with Pushover.net is through the purchase of their apps for a users device. Each app costs 5 dollars, and then you are able to send up to 7,500 notifications a month without any additional cost. After you have created an account you need to navigate to the Pushover Apps & Plugins page and create a new application. Once you have created a new application copy and paste the application API Key into the demo file.

Retrieving a Users Pushover ID

We can easily download a user's Pushover ID into FileMaker by making a simple post call using Insert from URL. The url you will be posting to is api.pushover.net/1/users/login.xml and the api requires 2 parameters, email and password. Below is an example of the full URL request.

insert from url "httpspost://api.pushover.net/1/users/login.xml?email=" & $email & "&password=" & $password

Managing Groups

One great feature of Pushover you can take advantage of is groups. Groups allow you to manage your users and then send out a notification to that segment of users all at once. You can create a new group from the Pushover Groups page. Once you have created your group you can use the generated group key to add and remove users, and disable/enable a user in the group all from within FileMaker using a simple rest api. Another useful feature of groups in Pushover is the subscription feature that allows for anonymous users to sign up to receive notifications and be automatically added to a group.

Sending Messages

Sending a message is very similar to all the other api calls not surprisingly. The api endpoint for sending a message is api.pushover.net/1/messages.xml or api.pushover.net/1/messages.json. And there are quite a few parameters you can include to customize your message. Below is a list of all the available parameters.

FileMaker Send Notification

Required Parameters

  • token - Pushover application token/id
  • user - Can be userID or groupID
  • message - Must be URL encoded
  • retry - required if priority is 2. Time in seconds to wait between retries until acknowledged. Min of 30
  • expire - Required if priority is 2. Time in seconds to keep retrying until acknowledged. Max of 86400 seconds or 1 day

Optional Parameters

  • device - Device name, if left empty all of a user’s devices will be notified
  • title
  • html - if set to 1, will allow for html tags in the message which will allow the use of the following tags; bold, italic, underline, font-color, and html links
  • timestamp - a unix timestamp in CST time zone ex: 1331249662
  • priority - The priority of the message ranging from -2 to 2. The default “Normal” priority of 0 will be set if left empty
  • url
  • url_title
  • sound - if left empty, the users default will be used, if no default then “pushover” will be used

Full API Reference

Conclusion

With a few api calls you can easily extend FileMaker with the ability to communicate with a mobile work force on virtually any device including iOS Devices, Android Devices, and Web/Desktops. Through the use of messaging groups you can also easily manage who should receive what alerts and when. Pushover's advanced features give you a lot more control than something like text messaging and allows you to brand your notifications, change the messages sound, set the message priority, and manage whether a user is enabled or disabled in a group.

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

Download
Download the FileMaker Notifications 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.
Mason Stenquist thumbnail
Mason Stenquist

Mason is an experienced and Certified FileMaker developer motivated by creating innovative solutions for his clients. His interest and talent in the realm of art combine to form the foundation for his exceptional design skills, which helped him win the FileMaker Developer Cup at DevCon.

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