Development Guide
Table Of Contents
- Chapter 1 Setting up databases for FileMaker Go
- Chapter 2 Differences between FileMaker Go and FileMaker Pro
- Chapter 3 Designing databases for FileMaker Go
- Chapter 4 Protecting databases in FileMaker Go
Chapter 2 | Differences between FileMaker Go and FileMaker Pro 13
Export Field Contents script step
FileMaker Pro exports text as UTF-16, but FileMaker Go exports text as UTF-8.
Notes
1 By default, the files created by script steps appear in the Files on Device list and are saved in
the Documents folder. To save the files in a temporary folder, use the Set Variable script step
to create a variable to specify the output file path and filename for the script step. The files will
be saved in the temporary folder and will be deleted when you close FileMaker
Go or if
FileMaker
Go hibernates.
You can use the following example to create an email with the file as an attachment.
Set Variable [$Output; Value: Get( TemporaryPath ) & “sample.pdf”]
Save Records as PDF [No dialog; “$Output”; Records being browsed]
Send Mail [Send via E-mail Client; To: “linda@glolda.com”; Subject:
“Invoice” ; Message: “Test”; “$Output”]
1 By default, when you run script steps, FileMaker Go creates a new output file. If you continue
running the script, a number is added to the end of each filename. For example, the first time
you run the Save Records as PDF script step for a sample file, the output filename is
sample.pdf. The second time you run the script, the filename will be sample
1.pdf.
To replace the output file with the new one instead of keeping multiple copies, add the file path
(file:fileName or filemac:fileName) to the script. For example, if you type file:sample.pdf
or filemac:sample.pdf in the Specify Output File dialog each time you run the script, the
sample.pdf file in the Documents folder will be replaced with the new one.
The following example saves records as a PDF file named sample.pdf and will either create a
new file or overwrite the existing file.
Save Records as PDF [No dialog; “sample.pdf”; Records being browsed]