Claris Certified FileMaker Pro App Developer ExpertClaris Certified FileMaker Pro Server Administrator
  • Self-Join Redux: Counting per-record values by year

    At https://www.reddit.com/r/filemaker/comments/1v7byt1/get_number_of_records_per_person_for_the_current/, a redditor asked, I use FileMaker for my patient files and am trying to find a way to display how many times that patient has come this year (1 record = 1 visit). I have a PatientID field and a TreatmentDate field. What is the best way to do this? I’d like to […]

  • Converting and resizing images in FileMaker with pure Javascript instead of GetThumbnail()

    FileMaker has a built-in GetThumbnail() function to resize and convert image formats for images stored in container fields. However, there are scattered reports that this isn’t always reliable (like at https://www.reddit.com/r/filemaker/comments/1et224c/strange_container_bug/ and https://community.claris.com/en/s/question/0D53w00005ZIw34CAD/getthumbnail-on-filemaker-go-not-working-with-png-files-when-fm-file-is-hosted. So I used a javascript demo I found (at https://dev.to/ninofiliu/lets-write-an-image-converter-in-20-lines-of-htmljs-bng)  to create a webviewer-powered function that uses pure javascript to resize and […]

  • Solution: FileMaker Server will not start after Windows Server crash or upgrade

    SHORT ANSWER: Try moving the file ‘ServerCustom.pem’ from the “C:\Program Files\FileMaker\FileMaker Server\CStore” directory to the desktop, and then try starting the FileMaker Server. If it works, you’ll need to download and install a new SSL certificate, but other than that you should be fine. If it still doesn’t work, put it back into “C:\Program Files\FileMaker\FileMaker […]

  • “[Er, Almost] Always Working” FileMaker app Multi-Page PDF viewer

    Note: This technique should be considered “almost always working”, not “always working” as previously (and wishfully) billed. Sorry, as FileMaker and desktop OSes have changed, this file, which relies on several technologies from several different sources working together, has proven to be not always reliable. I would not try to use it in any solution […]

  • “Share” Bookmarklet to Create a Tumblr Text Post (That Actually Works)

    I do a lot of posting to Tumblr to archive notes on interesting things I’ve read online. Tumblr’s default sharing bookmarklet and browser extensions have two serious drawbacks: 1.) They either create photo or link posts, nothing else 2.) They frequently don’t work at all: the share window opens, and then the “spinner” graphic sits […]

  • Opener file no longer works after upgrade to FileMaker 16

    Due to FileMaker version 16’s new warnings about connecting to servers without SSL,  after upgrading, some opener files simply don’t open files from FileMaker Server over the network like they did under previous versions of FileMaker Pro or FileMaker Advanced. The symptom: Many users use “opener” files, local files saved on their hard drives, to open FileMaker databases […]

  • How to have a userscript in TamperMonkey/GreaseMonkey automatically update a GitHub repo

    TL;DR: I edit scripts in TamperMonkey (GreaseMonkey replacement) and have the changes automatically update a master GitHub repo by backing TamperMonkey up to Dropbox, then having an OS X Folder Action perform the GitHub update. Here’s a pretty arcane trick that hopefully will be of use to some other person, somewhere, someday. In my GitHub repo I have shared a […]

  • Capturing a FileMaker screenshot in Preview Mode with a scripted “Copy []” command

    This hidden feature of FileMaker has been documented elsewhere, but there’s a little quirk that isn’t always mentioned. You can capture a screenshot of your current layout in FileMaker by going into Preview mode, and selecting “Copy” from the “Edit” menu. This places a screenshot of the Preview on the clipboard. However, if you script this, […]

  • Case Study: FileMaker database suddenly slow on startup, then speeds up with use

    TL;DR: A corrupt record can cause sporadic performance problems in FileMaker databases, especially when accessing them remotely. I encountered an interesting error recently. A client database on which I am working remotely suddenly took much longer to open than it used to – increasing from about 20 seconds to fully open to about 4 minutes. The database […]

  • Michael Kupietz
  • Certified Expert FileMaker Pro Consultant & Full-Stack Web Developer
  • Serving clients locally and remotely, in California's San Francisco Bay Area and nationwide
  • Phone: (415) 545-8743
  • Download vCard