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.

Triggering a script when another account makes a record.

Featured Replies

  • Newbies

I have made a simple chat layout for our database and would like it to auto scroll to the bottom of the page when another account on another device makes a new record in that table. I want to sort the records ascending so the newest record is at the bottom, but I can't get filemaker to trigger any events on new record creation from another device. I can see the new record is instantly being refreshed because the scroll bar jumps, but I can't get filemaker to scroll down when that new record is created. Any ideas? 

Probably best handled with a web viewer. You can use the DATA URL prefix and then use javascript (which runs in the background and does not use FMP engine) to check for updates and some basic html and css styling. It is a bit lengthy to go into detail of how to of this, so I am attaching a file.

Tear it apart and I hope it helps!

Good luck!

chat.zip

  • Author
  • Newbies

I was aware of this solution, but its a band aid.

 

Probably best handled with a web viewer. You can use the DATA URL prefix and then use javascript (which runs in the background and does not use FMP engine) to check for updates and some basic html and css styling. It is a bit lengthy to go into detail of how to of this, so I am attaching a file.

Tear it apart and I hope it helps!

Good luck!

chat.zip

This was exactly what I was looking for, and more! Thank you so much for the help!! 

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.