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.

Related field outside of portal

Featured Replies

I have a portal with a couple of field columns of related records. I want to place a related field outside of the portal that shows field data from a related record when the record is selected in the portal. For example, I have a related "notes" field that I don't want on the portal itself because the content is too big. I'd rather have the notes field on the form and have the contents change based on the whatever record I select in the portal. Any clues?

Thanks

Daryl

The key here (no pun intended) is to use another relationship which matches only the selected record. The relationship used for the portal won't do, as it matches many records.

This new relationship should relate a global field to a field which is unique in each of the portal records, such as a record number in the related file. Let's assume you have a unique field in the related file called RecNum. Create a field in your primary file:

gRecNum (global, number)

Create a relationship between Main File::gRecNum <--> Related File::RecNum. Place the field YourNewRelationship::Notes on the layout.

Now all you need is a script that copies the PortalRelationship::RecNum to gRecNum when you click on a portal row:

Set Field[gRecNum, PortalRelationship::RecNum]

Attach this script to a rectangle with clear fill and border and size this rectangle to fit over the portal row. When you click the portal row, the notes for that row will be displayed in YourNewRelationship::Notes.

-bd

  • Author

Thanks, solution doesn't seem real clean but I can see it will work. Thanks for the feedback and have a great weekend.

Thanks again!

Hi Daryl,

This is clean !!!

Check the attachment here, as this question came just a few minutes after your post. It's a little different because the datas comes from a third file related to one ID from the portal, but you'll get the method

attachment Many Many to Many

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.