Solved

FM Exporting Pictures In Container

Posted on 2014-07-29
1
974 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 24

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now