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

Get a field value in a portal


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

Recommended Posts

Posted

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

Posted

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

Posted

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:

This topic is 6560 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.