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

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

Recommended Posts

Posted

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?

Posted

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.

Posted

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

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