Due to popular demand, Andy Persons has updated and overhauled the FileMaker Pro drag-n-drop demo for use with the FileMaker separation model. This updated FileMaker Pro drag-n-drop demo includes an updated white paper as well.
The demo includes consolidation of several of the ‘Move’ scripts and removal of extraneous ones. We’ve also included a new approach for the ‘Sort’ technique that removes the need for two adjunct TOs. There have also been various smaller enhancements/cleanups.
This file demonstrates how to use event-based scripting features to allow the use of FileMaker drag-and-drop interfaces. It has been updated to demonstrate how to use the technique with the data separation model, as well as streamlining certain elements:
- The Move tab shows how to allow users to move items from one portal to another by dragging them.
- The Sort tab showcases the ability to drag items in a portal to any position in the list.
- The Hierarchy tab demonstrates how users can assign hierarchical items and groups to new parents by dragging and dropping them. This example is built on the “Hierarchical Portals” file, available at the link below.
Enjoy!
This is really a great technique!!! Thank you Andy and Excelisys!
Thank you Kevon, always appreciate your feedback!
I would need the older version for Filemaker 11. Is there a way to download it?
Thanks a lot for help.
Hi Detlef,
I can send you the .fp7 version. Just send a message to arpersons -at- excelisys.com.
This is awesome! One question: Why the finishing move items script has to be in the data file?
TIA
Hans from the south of Germany
Hans –
Good question, and sorry about the delayed response! A common goal of the separation model is to minimize the amount of scripting in the data file to avoid the potential need for updates later. In this case, the script that finishes moving items doesn’t necessarily have to be in the data file, as long as it creates a new window from the interface file to do its work (typically off-screen, and closed when you’re done). That should allow everything to refresh properly while keeping all of your scripting logic in the interface file.
Thanks for bringing attention to this point.
Just wanted to say this is amazing, and very stylish!