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.

Cascading portals - limiting results based on active field in another portal?

Featured Replies

I'm trying to come up with a way to allow users to create a list of cascading categories, which will eventually be used to help customers narrow down products on a website.

The first two categories are entered for them in two fields in the same table. So they would see the following listed:

Record 1: Garage Tools

Record 2: Kitchen Silverware

When they click on the record 1 ( Garage - Tools), a portal shows them all the subcategories for that record and allows them to add more as needed, such as:

Hammers

Drills

Saws

Crow Bars

I added a second portal so that when they click on any of the subcategory records in the first portal, the second will show them only the records from a third table related to the ID of the record selected in the second portal.

So you click on "Garage - Tools" and see "Hammers" in a portal and can then click on the "Hammers" record in the portal and you see types of hammers listed in a second portal.

For the most part, it's working, except for the second portal. No matter what record I click in the first portal, the second portal will only show the records related to the first record listed in the first portal.

So, using the example above, you click on "Hammers" and see the types of hammers listed on the second portal. But if you click on "Drills," you still only see the records related to hammers in the second portal.

Is there a way to get a second portal to display only records related to the ACTIVE record of the first portal? I plan to add a 3rd portal, too.

Thanks for any suggestions.

Maybe this will give you some ideas...

http://fmforums.com/forum/topic/72391-getting-more-out-of-filtered-portals-6-hierarchical-portal/

  • Author

Thank you for the tip. Very nice sample. I'll have to dissect it and see if I can understand what's driving it.

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.