Insert File and Email Filemaker pro

Posted on 2011-10-13
Medium Priority
Last Modified: 2012-05-12
I want to create a script (see attached) that allows the user to insert a file into a container field and then sends an email with the file attached to it.  See what i have so far. It is not working properly.
Question by:PachecoPrimo
1 Comment
LVL 25

Accepted Solution

Will Loving earned 2000 total points
ID: 36966107
The main issue is that the $getFile variable needs to contain the entire path, not just the Desktop path. In order to do that I added a second Set Variable [ $getFile ] step that sets the variable to the to the Container field. Since variables are always TEXT, this returns the full path to the reference file. Note that this ONLY works if "Store only as reference" is checked.

I also added a "Set Error Capture [On]" step which eliminates  the initial error dialog one gets when going to the Desktop. And, I added an EmailSubject field to the initial dialog so the user can enter the Email subject line.

The attached file corrects the problem.

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

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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

850 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