jamesducker Posted November 24, 2010 Share Posted November 24, 2010 Wonder if anyone knows of a fix for this... We are trying to: 1) Create a PDF with security. This works fine. 2) Append to that PDF, using the same security settings. This doesn't work. See example file attached; run the script. You would expect a 2-page PDF, but you get error 9 when trying to do the append. FileMaker's intended behaviour is described here: http://help.filemaker.com/app/answers/detail/a_id/6363/~/append-to-existing-pdf-in-filemaker-pro However I think my example file proves it does not actually to work as intended. I **am** using identical security settings in both "Save records as PDF" steps. There is a known bug described here: http://help.filemaker.com/app/answers/detail/a_id/7043/related/1 however this purports to relate to just FM10 and FM11, and just on Windows. The example file attached was created and tested using FM9 on a Mac. Presumably whoever logged the bug had a reason for not logging it as applicable to FM9? A similar problem exists here: http://fmforums.com/forum/showtopic.php?tid/189814/ If someone could quickly sanity-check what I'm doing I'd be most grateful... any help much appreciated... James Test.fp7.zip Link to comment Share on other sites More sharing options...
comment Posted November 24, 2010 Share Posted November 24, 2010 Presumably whoever logged the bug had a reason for not logging it as applicable to FM9? Presumably they didn't bother testing it in v.9. They also say this happens "In Windows", while the bug that you have described is cross-platform. Link to comment Share on other sites More sharing options...
jamesducker Posted November 25, 2010 Author Share Posted November 25, 2010 Presumably they didn't bother testing it in v.9. Yes, presumably not. Naughty, though, since 9 is not at end-of-life yet. They also say this happens "In Windows", while the bug that you have described is cross-platform. Indeed! Do you get the same error? Am I doing anything silly? J Link to comment Share on other sites More sharing options...
comment Posted November 25, 2010 Share Posted November 25, 2010 I am not sure. How well does this one work for you: Test2.zip Link to comment Share on other sites More sharing options...
jamesducker Posted December 6, 2010 Author Share Posted December 6, 2010 I am not sure. How well does this one work for you: No better, unfortunately. I trawled through the past posts and saw that Matt Klein had had the same problem some years ago. He gave up on using "Append" with Save Records As PDF - and solved it by creating multiple secure PDFs in get(TemporaryPath) then executing some custom-built Java/Groovy code through ScriptMaster. Hope that helps anyone who stumbles upon this in future! James Link to comment Share on other sites More sharing options...
comment Posted December 6, 2010 Share Posted December 6, 2010 No better, unfortunately. Meaning..? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4902 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now