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.

Dealing with multiple page fax confirmations

Featured Replies

Hello,

I'm currently working on a solution where the customer wants to save a copy of a faxed document that is appended with confirmation data. This wouldn't be a huge deal if they just wanted the first page, but they want every page to include confirmation data.

I was originally planning on using the SCGetinfo ( <document> ; "pagecount" ) feature that is built into SuperContainers to get the number of page of the fax. Then I was going to script a loop through the pages of the PDF, set a web viewer using SCRawData and set a URL that contained "#page=$myVariable" and then print a copy of the layout with the confirmation data and image of the web viewer to PDF Then I was going to stitch all the PDF's back together and save them as a new file in Supercontainers.

Well, it turns out there's a couple of problems: A) Web viewers do not work in preview mode (Or at least I haven't been able to get it to work yet) and, B) SCRawData returns the built-in acrobat editor which places a scroll bar to the side of the document, editing modules, note markup, etc.

What's the best way to do this with SuperContainers? (FYI I'm also using ScriptMaster and Scribe if that makes any difference)

James,

It looks like you'll probably need to use a standard FileMaker Container field to grab and store the PDF preview. Hopefully you're running SC in standalone mode on Mac OS X so that you can grab a preview of the PDF image using Core Images X library and save that to a container field using SCGetContainer() (with a width and page number specified).

This should eliminate the Preview mode problem as well as the Acrobat Editor raining on your parade.

Hopefully it works out for you. This is my best suggestion without sitting down with pen, paper, and a gallon of coffee.

Regards,

  • Author

James,

It looks like you'll probably need to use a standard FileMaker Container field to grab and store the PDF preview. Hopefully you're running SC in standalone mode on Mac OS X so that you can grab a preview of the PDF image using Core Images X library and save that to a container field using SCGetContainer() (with a width and page number specified).

This should eliminate the Preview mode problem as well as the Acrobat Editor raining on your parade.

Hopefully it works out for you. This is my best suggestion without sitting down with pen, paper, and a gallon of coffee.

Regards,

Unfortunately I'm running a SuperContainers version that hosted on a server. I tried the above method and it either results in a minuscule thumbnail or a completely illegible (like 1 pixel resolution) thumbnail being rendered.

Any other suggestions?

  • Author

Unfortunately I'm running a SuperContainers version that hosted on a server. I tried the above method and it either results in a minuscule thumbnail or a completely illegible (like 1 pixel resolution) thumbnail being rendered.

Any other suggestions?

Thanks for the assist! Apparently I was passing invalid parameters as it now works great. Now I have another problem, the thumbnails aren't displaying in the Container in preview mode -_-

Sounds like a filemaker problem though, I'll dig around and see if I can't find a fix...

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.