Solved

FM Exporting Pictures In Container

Posted on 2014-07-29
1
1,032 Views
Last Modified: 2014-07-29
I want to be able to export a list of pictures records in containers from a Filemaker database. I want to be able to include the picture and other fields per record exported.
I have tried exporting records to excel, but the container field with the picture is not exported, only the other fields I had selected.
0
Comment
Question by:PachecoPrimo
1 Comment
 
LVL 25

Accepted Solution

by:
Will Loving earned 500 total points
ID: 40227499
The only way that I'm aware of to export the contents of a Container field to an Excel cell is by using a Plugin such as the 360Works Scribe plugin http://360works.com/filemaker-pdf-plugin/

You can export images from a container to a specific path by creating a calculation that determines the path including the name of the image. You then create a variable, e.g. $FilePath, set it to the path and then use the Export Field Contents script step. However, this only export the contents of the container field and only for one record. To export a group of records you would need to create a Loop that calculates the path for each image and then performs the export. You could then export all other values to Excel or other format.

Go to Record/Request/Page [First]
Loop
       Set Variable [$filePath; Value: Get ( DesktopPath ) MyPics::Description & ".jpg"]
       Export Field Contents [MyPics::Picture; “$filePath”]  
       Go to Record/Request/Page [Next; Exit after last]
End Loop

See this FM KB article for details: http://help.filemaker.com/app/answers/detail/a_id/5822 including more details on the example above shown in the article.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Toggle button 2 158
Mysql ODBC Drivers for Mac 2 948
Filemaker Record Modidified Field 3 965
Job Transaction Field totals 6 57
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question