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.

conditional portal

Featured Replies

Is it possible to create a portal that shows records from another table, but filters what is shown by information in the record your currently viewing?

I am not sure what you mean. Any portal based on a relationship will change depending on which record you are using.

For example if you have an invoice table and a line item table that are related. You place a portal in the Invoice tabel layout showing records from the line item table, then it will only show records from the invoice you are viewing.

Is this what you meant?

  • Author

I guess what I mean is, say I have this:

Table 1: titled "Food"

This table has records with titles like Apple, Pork, Carrot, Cereal, Pear, Beef, Tomato.

Table 2: titled "Category"

This table has records in it with titles like Vegetables, Fruit, Meat, Grain.

This table has a portal in it with access to Table 1.

Is it possible to set up this portal to only show the the records "Apple" and "Pear" if the record your viewing in Table 2 is the record titled Fruit?

Sure, but you'll need to add a "Category" field in Table 1 to base the relationship on. So for each item of "food" in Table 1 you will need to enter the category. Then you create a new relationship based on Table2::Category <=> Table1::Category and make the portal based on that relationship.

To prevent mistakes with data entry in Table 1, define the category field format as a pop-up list, using a value list. Define the value list to use "values from field". Select the category field from Table 2.

HTH,

Peter

  • Author

Thank you so much. I'm not quite sure why it works, but it works. :(

Thanks again

  • Author

Question? What if I change the title of table 1 to cart, and add categories that aren't food, ie. plates, spoons, forks. How then would I filter the portal in table 2 to only show food?

  • Author

Never mind I figured it out.

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.