Better Portal Drag Sorting

When a programming environment doesn’t offer you every widget you might expect to have, then some enterprising individual will typically create the solution you seek - somewhere.

If that person shares the solution with everyone else, and you can find it, then it obviously makes your life easier. You just have to find the technique and take the time to implement and understand it. Anyone can simply copy and paste the pieces to a puzzle, but understanding how it works it what makes it possible to adapt, modify and abstract from what you learn about the solution.

In this video, I showcase a technique file from a fellow FileMaker developer named Charles Delfs. He implemented a number of creative twists on a popular technique of being able to offer users with the ability to sort portal rows by simply dragging them in between each other.

If offering this feature to your users creates any degree of value, then make sure and let Charles know about your overwhelming joy at him having taken the time to refine and update this popular technique.

Tags:

Comments

There is problem with this solution: If it's allowed to generate records in the portal, the loop will generates records till the end of the world....

I had just pushed it to YouTube and will compress and get a copy up on the site. Been working on a newer version of the web site.

-- Matt Petrowsky - ISO FileMaker Magazine Editor

Thanks for the video. Trying to implement this solution and unable to get it to work. I'm new to FileMaker so I'm sure it's something simple. Specifically it doesn't appear that my container field is holding any image information and the calculation inside of the container is not being called. Any idea what I'm doing wrong?

My file is available here: https://www.dropbox.com/s/ja4k08na9bmgf96/Drag%20and%20Drop.fmp12?dl=0

There is no native features for this in FileMaker. Sadly many UI features are needed to match Xcode. The only way I’ve managed to achieve similar is to have buttons appear when a user wishes to move a row which give them the option to move the selected row above or below another row.

documented.
Started working with Ray Collogon's implementation and got helplessly befuddled.
This is very clear and nicely abstracted.
More or less one field (two if you don't have a sort index yet) and one script, and some minor layout stuff.
Thanks, Mr. Delf.