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.

Drag and Drop Images into Container Fields

Featured Replies

Does Filemaker not support dragging and dropping images into container fields? Seems like this would be a basic capability, especially when working with a Mac.

I have a database of many individuals and each individual has a variety of photos associated with it (child records). I would like to just drag and drop the appropriate images into a container that I have in a portal for each individual. Possible?

No drag/drop graphics (yet) with FM. but this could be to do with the fact that an image/file can be stored or referenced - so you would still need to decide what to do.

Can be done with web viewer.

I have an example file which does this, a simpler implementation from the original file. I cannot remember who wrote the original techinique. Was it you Bruce? I apologize to whoever invented it, and would like to give you credit; but there is no info in the file, and I can't remember where I ran across it. It is very clever, but not that hard to implement.

One limitation is that it only accepts drops of file types which a web viewer could show, such as PDFs and the usual graphics files (and text).

There was one problem with it. Which is that it worked fine in FileMaker 10, but behaved downright weird in FileMaker 11; like you've never seen before. The Scripts menu still worked, but the interface became unresponsive. You just got a beep whenever you click on anything. A lot of other interface things were messed up, scroll bars, etc..

I'm pretty sure what was happening was the same problem recently mentioned (here?) re: a problem with the ScriptMaster plug-in running FileMaker scripts in 11. When I changed that part of the method to use the EventScript plug-in instead, it worked fine in FileMaker 11.

So that's how it is for now. Likely 360Works will fix the ScriptMaster scripts problem with FileMaker 11 (soon). So then it can be switched back to use it again.

The main part of the technique uses Conditional Formatting on a Web Viewer object. That is the trigger. The EventScript plug-in then runs the specified script.

I added one step to the script, an AppleScript to "activate" FileMaker. Otherwise it all works, but FileMaker does not return to the front (after you've gone off to grab a file). All I did with the FileMaker script was to set a text field to the file path and Insert (embedded) the file into a container field. That seemed sufficient to show the technique. But you could do whatever, as it is a script.

WV_Drop_simple.fp7.zip

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.