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.

FM 11 Filtered Portal Question

Featured Replies

In FM 11, can a portal be set up to filter for:

Table::TextField contains the word abc somewhere in the field

... or is it limited to exact matches? (Table::TextField = "abc")

Thanks in advance for any help.

It's a calculation; can be pretty much anything you want. Some calcs may present performance problems. But yes, patternCount( someTO::someField; "ABC") would work.

A related question... Maybe I'm missing something obvious, but it's driving me crazy. Is it possible to do dynamic portal filtering? That is, the filter is based on the contents of a global field, and as the field changes, the filter changes. Following the example above, I've tried:

patternCount(relatedTable::someField, relatedTable::xFilter) > 0




as well as 




patternCount(relatedTable::someField, parentTable::xFilter) > 0

and no luck at all. Like similar issues I've had with stored/unstored calculations, it works ONCE -- when you first create the Portal Filter. But then when you change the xFilter field, the portal filtering is unaffected.

Is it possible the calculation generated by Portal Filtering is a stored calculation? If so, this makes the new feature completely useless to anyone who has experience creating their own filters via additional relationships. I mean, in those cases at least I can make the filter dynamic.

It really seems like I'm missing something here. If so, can anyone tell me what it is?

  • 2 weeks later...

To update the filtered portal you need to trigger a script to (Refresh Window[Flush cached join results])

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.