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.

Display Graphic in Portal Row

Featured Replies

I have a portal with a pop-up list. Depending which selection is choosen in the pop-up list, I'd like to have a small graphic display in that portal row. I have a container with the graphics.

Thank You.

This sounds Reasonable, where is the problem?

  • Author

Displaying the graphic dependent upon what selection is made in the pop-up list. Only the graphic in the first position of the container is displaying in all portal rows.

There are two ways of doing this. One is with repeating fields, and the other via relationships. I don't particularly like repeating fields, (read: I've practically forgotten how to use them) so I'll explain the relationship version. smile.gif

You now have two files (A and :. You will need to add one more © for the graphics.

In the file shown in the portal (???, add another related file (with a record for each graphic) to it ©. The graphic records in © should relate to the options available in the pop-up field in (B). Make sure to add a container lookup field in (B) based on its relationship to ©. You'll need this field in (B) so that the graphic will show up in the portal to (B) in (A).

That way when you select a pop-up value in the portal you're talking about, the file shown in that portal row will automatically show its related graphic.

Judging from my awkward explanation above, it's clearly more difficult to explain than to do; so I attached a functional, yet oddly primitive, example of the (A), (B), and © files to this post. HTH

Calculate which graphic to display in the related file. Display the related calc fiels in the portal.

Yep, that's a good idea too. I like non-calc relation-based setups sometimes because although they may take a little longer to set up, they are infinitely easier to maintain for the programmer, and especially the user. With a set up as mentioned/attached above, a user can add/delete colors to and from the the color table at will without ever having to open or edit any calc fields. I'm probably wrong in this regard, by I tend to lean towards more tables and relations and less calc whenever possible. It seems to provide for faster perforamance and easier maintenance for the user. smile.gif

PS: What happened to your picture?

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.