Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Appending to PDF with security

Featured Replies

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

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.

  • Author

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

I am not sure. How well does this one work for you:

Test2.zip

  • 2 weeks later...
  • Author

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

No better, unfortunately.

Meaning..?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.