Exporting Container Field Contents To Folders From FileMaker
March 29th, 2010
Someone asked me today to help export container field contents. The additional requirement was to store the images in unique folders (because the container field contents might not have unique file names). I have created a short video to share the process with people:
I highly recommend replacing your old method of storing images in container fields with a new method: SuperContainer from 360 Works. It has a lot of advantages, one of them is reducing the file size tremendously. I use SuperContainer in almost every solution I build.
Special Thanks:
I’d like to thank the following people for their help in getting me on the right track here:


Hi Agi,
small suggestions in your script steps. In assigning the $_script variable instead using this line:
// “do shell script” &” \”"& “mkdir -p ~/’desktop/FMExports/myfolder’” & “\”"
and after that substituting the myfolder with the $_id
you can have all covered in one script line with simplified syntax:
“do shell script ” & Quote(GetAsText(”mkdir -p ~/desktop/FMExports/” & $_id))
I have it tested with your file and it worked fine for me. Let me know what you think.