Hierarchical Portal Filtering using FileMaker Pro 15

By Andy Persons

Way back in 1996/97, I developed my original hierarchical portal filtering technique using FileMaker Pro 3. Twenty years later, we decided to take another look and update it for FileMaker Pro 15.

Several alternate approaches have been developed in the interim for the hierarchical portal filtering technique (including a “lite” approach by my colleague Doug West). After reviewing them, we believe the original approach still has merit as one option to consider.

 

Hierarchy Lite Advantages

The Lite approach on the hierarchical portal filtering technique focuses on ease of implementation. It works to abstract the hierarchy logic using features like global variables and portal filtering, entailing fewer schema changes and requiring fewer changes after pasting scripts and fields.

Download Doug West’s version of Hierarchy Lite Demo

 

Hierarchy Classic Advantages

The Classic approach to the hierarchical portal filtering technique uses a multikey in a global primary key field to filter records. This requires more work to implement and more schema changes, but can result in improved performance in certain circumstances such as high numbers of related records or WAN deployments.

This is because records are filtered at the relational level rather than the portal filter level. Records that won’t be displayed simply aren’t downloaded in the first place rather than being downloaded and filtered after the fact.

 

Leveraging New FileMaker Pro 15 Features

We were also able to take advantage of several features that have been added since FileMaker Pro 3:

Hierarchical portal filtering screen shot

 

  • Button Bars: the text for the Expand All/Collapse All button toggle takes advantage of calculated Button Bars
  • Script Triggers: Indented arrows use repeating calculation fields with OnEnter script triggers to simulate “repeating buttons”
  • CSS: allows us to hide the In Focus formatting of the repeating field to preserve the button-like behavior

Hierarchical Portal Filtering FileMaker Pro Download

Download Revised Version

 

Hierarchy Advanced 2.0 Features (coming soon)

This refreshing of the original technique also sets the stage for more advanced features that we’ll be releasing in subsequent FileMaker demos:

  • Dynamic sorting by any field
  • Drag-and-drop sorting and reassignment

Stay tuned for Pt2 and Pt3!

**This article is provided for free and as-is, use, enjoy, learn, and experiment at your own risk – but have fun! eXcelisys does not offer any free support or free assistance with any of the contents of this blog post. If you would like help or assistance, please consider retaining eXcelisys’ FileMaker Pro consulting & development services.

About eXcelisys, Inc.: Founded in 2001, eXcelisys (www.excelisys.com) is an FBA Platinum Partner and FileMaker Certified developer organization. eXcelisys specializes in designing, developing, customizing, supporting, consulting, migrating, upgrading, fixing, and integrating of database solutions for Desktop, Mobile, and Web applications. Our core technology competencies are FileMaker Pro, FileMaker Go, and MySQL for database frameworks, along with FileMaker WebDirect, WordPress, MySQL, PHP, CodeIgniter, PostgreSQL, Joomla, Drupal, Magento, CSS, HTML5, and Javascript for web sites and web applications. Aside from providing eXcellent customer service, our goals are to use these technologies to intuitively automate your organization’s data solution needs seamlessly and flawlessly across the web, mobile, and desktop platforms. Contact eXcelisys today for a free estimate and consultation about making your business more efficient through intuitive and effective software automation. 866-592-9235 | [email protected]