Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

How to get Portal Row data via Button script


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

Recommended Posts

Posted

I have a portal that displays data from a related table in my layout.

In that portal, I have a button (displays in every row) that will gather data from that portal row and end it in an email.

This works ONLY for the data in the first portal row.

 

HOW can I capture the data that is in the SAME portal row as the button that is being clicked?

Jason

Posted (edited)

Hard to tell without seeing what exactly your button does. You also did not explain how does it fail in the other rows: does it still get data from the first row, or no data at all, or ...? 

Do you happen to have another occurrence of the related table on the relationship graph? Perhaps you are trying to get the values from there, instead of from the one used by the portal.

 

Edited by comment
Posted

<face_palm>Figured it out ! </face_palm>

I had another script run at the very beginning of my "send email" script which went to another layout, did stuff, then returned. Of course upon returning the object focus was completely different.

I moved that script to be AFTER setting my variables from the portal data and now it is running properly 🙂

Thanks everyone for your time !

Jason

 

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