Here are some thoughts,
You try to insert a variable $PathImage that has not been declared before. . .
Why don't you set the global PatientInfo::zExamPreviewCTR field directly from the s|IJ_PreviousStudies::ExamReportPDF field, that should save you from
exporting and importing.
On IOS you get different results if you use the temp folder or the documents folder.
and last I would not use the "filemac:" or "imagemac:" in the path, it should work fine without them.
Hope that helps,
Ruben van den Boogaard
Why not use a Set Field script step to set the target field with the content of the source field, bypassing the need for any external file process? As long as they are both containers, it should work.
Ruben & Stephen,
Sorry for the delay...
There are platform behavior issues here. On Windows or FM GO, in order to get the container to display the pdf, so it can be read, it has to be inserted. just setting the global container from the stored field you only see an icon. so the script works fine on Windows but on FM GO it displays the pdf but it isn't interactive. there are no PDF controls and it stretches it wide.