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.

How to get Portal Row data via Button script

Featured Replies

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

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

  • Author

<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

 

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.