Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

webviewer refreshes on record change - solved, but with a caveat


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

Recommended Posts

Posted

I'm working on a sort of iTunes library solution. I'm playing a selected song with javascript in a webviewer. I got the idea, and how to do it, from Jeremy Brown's video linked below.  At first I had the webviewer on the main layout, but this was a problem, because every time the user makes a record change (eg clicking a checkbox, etc) it refreshes the webviewer. That slows it down quite a bit, because the javascript in the webviewer is reloading the base64 data again and again, even though its the same song. The only time it should really reload it is when the user clicks play on a different track's play button.

So then I changed it to have the web viewer in a separate floating document window. Now it does not refresh unless the user clicks play, and the web viewer refreshes itself - I don't even have to use "set webviewer reload". However, there is other data on the layout (not in the web viewer), and that does not refresh. in other words, it still retains the data from the last time the window was created. I can't figure out how to make it refresh the data, unless I close the floating window and reopen it. I can do that, but then I need to save its position on screen, and its size, and restore all of that every time it gets closed and reopened again. I can do that, but I thought there must be a simpler way?

 

 

This topic is 796 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.