Insert PDF script step for FileMaker Go doesn't work.
FM Go 12 Developer's Guide is unclear as to support for the Insert PDF script step.
Operating system version
FM GO 12
Description of the issue
Script is creating a PDF and attaching it to email for printing (which it does ok) then the PDF (referred to with Global variable) is to be inserted into a container field via script step.
Steps to reproduce the problem
Create record in database, create script to save the record to pdf (using global variable reference), attach pdf to email and then insert the pdf into a container field in same record.
pdf created, pdf attached to email, pdf inserted into container field.
pdf created, pdf attached to email, pdf file reference placed in container field (which was not checked in setup of the interactive container field). No pdf file placed in the container field of the record.
Exact text of any error message(s) that appear
Script Step info:
Go to Related Record [ From table: “Ext_Inspection”; Using layout: “Ext Inspection Violations_1st Letter” (Ext_Inspection) ] [ Show only related records; New window ]
Print Setup [ Orientation: Portrait; Paper size: 8.5" x 11" ]
Set Variable [ $$ExtOutput; Value:Get ( TemporaryPath ) & "ExtLtrViolations.pdf" ]
Save Records as PDF [ File Name: “$$ExtOutput”; Current record ]
Send Mail [ Send via E-mail Client; To: "email@example.com"; CC: "firstname.lastname@example.org"; BCC: "renner.david. email@example.com"; Subject: "First Letter and Violations List attachment" & " For " & Property Addresses::Full_St_Address; Attachment: “$$ExtOutput” ]
Set Field [ Ext_Inspection_Processing::Ext_PDF_Letter; $$ExtOutput ]
Insert PDF [ “$$ExtOutput” ]
email cc to clerk who uses FMP 12 and they drag the pdf from mail to container field.