Solved

FM Exporting Pictures In Container

Posted on 2014-07-29
1
1,107 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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