Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Display Graphic in Portal Row


This topic is 8144 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

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?

This topic is 8144 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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