Solved

FM Exporting Pictures In Container

Posted on 2014-07-29
1
1,012 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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