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.

fmpro object taking a long time to respond

Featured Replies

Hi,

Same scenario as my other post. I'm using the fmpro object in a different thread than started it, from a java window that keeps running alongside filemaker.

I find that when using the object it hangs for a while before anything happens. CPU usage doesn't increase, so it is just waiting. Is this because it isn't meant to be called from another thread?. Is there any way i can get it to work properly?

Thanks, Ryan

  • 7 months later...

Hello,

i have exactly the same problem!

i use Win 7 and FMA 10

Did you solved the problem?

Best Regards

  • Author

Hi,

No I didn't solve it. I concluded that it wasn't designed for what I was trying to do there. I was using it to execute sql queries, so I ended up just querying the filemaker server directly using the jdbc driver.

I've also had some other issues with threading and the fmpro object. So I figured I should use it in a "simpler" way :).

I call filemaker scripts from the java window by means of executing a temporarily created .fp7 file which then runs the script I want to run in filemaker. The only drawback is that it has a lot of recently opened files in filemaker :).

So I can get filemaker to talk to the java application, but I can't get the java application to talk back to filemaker (by means of invoking methods on the fmpro object). So maybe the fmpro object should only be used while the actual filemaker script that it is called in is executing, not at other times... I didn't get a response from devs and I didn't want to pay for support, so I am only guessing... :).

But then the delayed script example they have calls the fmpro object from another thread... Don't know, didn't get it to work reliably so I ended up doing it a different way :).

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.