Exporting Container Field Contents To Folders From FileMaker

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:

Click here to watch this video in high resolution.

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.

Download demo file

Special Thanks:

I’d like to thank the following people for their help in getting me on the right track here:

Steven Blackwell
Lee Hoong
Bruce Robertson


2 replies
  1. Pavle Ancevski says:

    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.

Trackbacks & Pingbacks

  1. Social comments and analytics for this post…

    This post was mentioned on Twitter by happyten: RT @agir: New blog post on agiriley.com: Exporting Container Fields to folders from FileMaker https://www.agiriley.com/?p=503

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply