AnsweredAssumed Answered

pdf insert not working as expected with os X Maverick

Question asked by kuhoodva on Oct 25, 2013
Latest reply on Oct 25, 2013 by kuhoodva


pdf insert not working as expected with os X Maverick


     Mac OS X Maverick 10.9

     FMPA 12.0.v5

     I have a script that I'm working on that involves saving a record to pdf, emailing that pdf, then putting that pdf in the clients file in a container. Currently the pdf files are being stored externally from FMP in our old file structure on an external drive, but would like to bring them in to be stored in containers. When running the script with the Insert pdf script step it comes up with an error 100, File is missing. I have verified the file is located where it is suppose to be. If I remove source from the script step and let the window open to select the file, I can go to the files location, select it and it works without error.

     $FileTemp; "filemac:" & Get ( TemporaryPath ) & Detail::C_Last Name & Left ( Detail::C_First Name ; 1 ) & ".pdf"

     Save record as PDF [Restore; No dialog; "$FileTemp"; Records being browsed]

     Go to Field [<table>::<field>]    ***This field is a container field set for interactive content***

     Insert PDF ["$FileTemp"]        ***This way giles the 100 error***

     Insert PDF []                           ***This way produces the manual way to find the file and works***


     Any suggestions would be great.