If you use Export Field contents to export the PDF from the container field to a location on your workstation hard drive, you can then use the append option to merge the old PDF with the new.
Thank you PhilModJunk!
Could I ask you for a little more help? I'm following what you are saying, but not sure how to go about doing that. I can't attach a screenshot of the script steps I have so far, but esentially it goes like this:
1) Set Variable ($RecertNotice)
Value: Let ( [
MAC = "filemac:" & Get ( TemporaryPath ) ;
PC = "filewin:" & Get ( TemporaryPath )
Case(Abs(Get ( SystemPlatform )) = 1; MAC; Abs(Get ( SystemPlatform ))= 2 ;
PC ) & "Testing Notice.pdf")
2) Save Records as PDF (goes to a particular layout where a 'letter' is that is saved as pdf as $RecertNotice)
3) **** Here is the part where I want to add the external PDF file to be part of $RecertNotice, but not sure how (e.g. container field? I can have it on a network drive if that helps, does not need to be in FMP) ***
4) Send Mail (with $RecertNotice as the attachment)
You can upload screen shots to your original post (click the edit post link). Or you can upload the screen shot to a file share site and post the download link in any of your posts. You can also copy and paste the script text either from a PDF of your script or from a database design report (FileMaker advanced only.)
To simplify things, instead of mac and windows versions of a filepath, you can just use: "File:" & Get (TemporaryPath) & "Testing Notice.pdf"
Save both PDF's to $RcertNotice, but specify the Append option for the second such save and it should append the 2nd PDF to the first.
Then step 4 should work as you describe.
Oh ok thank you! I must have missed the icon for that.
For your answer...
"Save both PDF's to $RcertNotice, but specify the Append option for the second such save and it should append the 2nd PDF to the first."
...would I be using "Save Records as PDF" script step for the global container field that contains the PDF file?
Guess I'm just a little stuck on how to actually append/save a pure .pdf file along with a record that is saved as a pdf (hope that makes sense! I'm beginning to confuse myself :))
If you need me to upload a screenshot, I'll do that. Thank you!!
I confused your post with a similar one that was also discussing appending PDF's.
Obviously, you have a pdf already created and either stored in a container field or you have a reference to the file already stored. Let's call that PDF, PDF #1.
Use export Field contents to export the contents of the container field storing PDF #1 to the $RecertNotice location. Then use Save as PDF to save the new PDF to this same $RecertNotice location, but with the append option selected.
The result should be PDF #1 with PDF #2 appended to it.
PhilModJunk...that worked!!! You are amazing :) Thank you again!!
I need to do this same thing but in revers. I need to create a pdf and then append an existing pdf contained in a container field and then email the whole thing. I'm new to filemaker, so I'll need a little more explanation than above.