I have a script that I am calling from a PHP page that will find a record, set a flag field and create a pdf and load it into a container field.
This does find the correct record, which I have validated by echoing the params and result of the overall function.
but SaveAsPDF and Insert From URL both fail.
$script_object = $fm->newPerformScriptCommand($layoutName, $script_name, $script_param);
When i run this script from FMPA as PSOS or locally it works everything works.