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.

Get a field value in a portal

Featured Replies

Hi,

I have a portal with a button in it. How do I get the field value of a related record?

Is there a function that can do something such as this:

$fieldValue = GetFieldValueInPortal(rowX, fieldY)

BTW, in my problem the related table is in another file, so I think the GTRR function is not usefull in this case.

Thank you

To access the value of a field that shares the same relationship as the portal does. Just reference that field.

portal_relationship::field_you_want

When the button for each portal row is pressed, it will give you the value of that record.

But if you were looking to get a vlues from a different record then you have to use GetNthRecord

  • Author

Hmmm... Weird I tried this before posting and I was getting an empty value and I retried after your post and now it works!

Thank!! :laugh:

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.