Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3432 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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? 

Posted

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

  • Like 1
  • Newbies
Posted

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!! 

This topic is 3432 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.