Portal Filter Scripting in FileMaker with Window Variables

Portal filtering can involve a number of small scripts for setting fields, clearing fields, and refreshing the portal. I’ve long been meaning to build one that would do it all, and that day has come!

This one script can be re-used anywhere without modification. Pass in some simple JSON to set one or more fields, one or more global variables, one or more window variables, THEN refresh one or more portals!

Wait… did someone say “window variables”? The attached file demonstrates that concept too. This allows you to have the same layout & record open in multiple windows, but have different filters applied in each window… cool! Continue reading “Portal Filter Scripting in FileMaker with Window Variables”