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.

Is it possible.......

Featured Replies

[color:"blue"]Is it possible to call a file maker script through a custom function?

Or import a xml file from a website through a custom function?

Reason I need this is because I have filemaker tied to a program called PCMiler to give me the distance from one zip code to another through XML. I got this to work fine with a script and button but I would really like it to be automatic (with a function). As soon as they fill in the 2 zip code fields It would call a function that imports the data or calls a script... But is this possible ?!? (I hope it is)

I think the example plugin that comes with Dev7 would allow you to call the script on exit from the second field. If you don't have Developer then you can get it from DatabasePros website. othe messages on the forum have given this message. I don't think you can call it from a custom function, but would be cool if someone else has creatively found a way.

  • Author

hmm I got filemaker 7 developer and the only plug in come with is the autoupdate plugin. Auto update plugin doesnt do that but is there another plugin I didnt see? whats the name of it?

I believe it's on the CD, not installed by default. But it's also on the databasepros web site, in an example file. For PCs it's WinExample.fmx.

I'd be careful depending upon that 'free' plugin. Here is a reference link you might find interesting:

CobaltSky on Cafe'

And this one explains a bit more.

Good heads up. It's true that the example plug-in is dangerous. It's one reason why FileMaker has never included this functionality directly; because even with parameters it's nowhere near idiot-proof. It's also probably the reason they make you explicitly look for and install it. I have not used the free one for any client's files, just messed about with it.

What I find generally is that when you want a script to run on field exit, there is usually more than 1 field involved. It would be silly to run a script for each field; it makes more sense to design the interface with a trap and run the script once. Yes, it means some extra work, and yes, there's usually a button involved. But I don't see much alernative, plug-in or no plug-in.

Another factor is that the existing commercial plug-ins for this functionality are kind of expensive. Hopefully the new API's of version 7 will enable less complex development and lower prices. I would prefer to use an inexpensive commercial plug-in rather than a simplistic free example. But I couldn't justify, to my rather cheap clients (not you, if you're reading :(-), much cost for something I only used in one or two places, which could have been done another (but perhaps less elegant) 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.