March 13, 20169 yr Newbies I have found ways to do this from Filemaker in OSX but I can't seem to apply this to FMGo. I want to mail the current record as a PDF and to have the PDF name be derived from the value of a field (in this cas, the name of the client) Below is the script as it stands. Is this a possibility in FMGo? 1. Go to Layout [ layout name ] 2. Set Variable [$name ; Value: Patients::LastName ] 3. Save Records as PDF [ Restore ; No dialog ; "$name.pdf" ; Crerate email ; Current record ] 4. Go to Layout [ original layout ] THoughts?
March 13, 20169 yr You need a path, and I don't see why you're changing layouts. In fact, that might change your record. User is on Contact form. Clicks "Mail PDF of Record" 1. set var $filename; patients::lastname & ".pdf" ( I might also add id) 2. set var $path ; get (temporarypath) 3. set var $fullpath; $path & $filename 4. Save as PDF; create email, current record only $fullpath
Create an account or sign in to comment