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.

Selecting Portal Rows

Featured Replies

Hi, I have a layout with a portal view of another table.

This table contains multiple client's information.

If I want to send an email to each client in the table I've found I can do this . . .

Go To Portal Row [First]

Send Mail [To:clients::email, etc., ]

Go To Portal Row [Next: Exit after last]

Send Mail [To:clients::email, etc., ]

However in the case that there is only one row present in the portal this script creates a second empty email.

How can I avoid that?

Many thanks,

jim

  • Author

I take it back, that only emails the first 2 records in the portal. If there are more than 2 it stops after the second one.

So I did this . . .

Go To Portal Row [First]

Send Mail [To:clients::email, etc., ]

Loop

Go To Portal Row [Next: Exit after last]

Send Mail [To:clients::email, etc., ]

End Loop

Still there will now always be an empty email as the last one.

So still the question . . . how do I email multiple records in the portal?

Thanks.

Edited by Guest

I would gtrr and now be in a found set in the child table (your client's table).

Go to Related Related (match current)

Go to Rec first

Loop

Send Email

Go to Next, Exit after last

End Loop

Go to original layout

But, you can do this from the parent, and loop thru the portal recs:

go to portal row first

Loop

Send Mail

go to portal next, exit after last

end loop

  • Author

Thanks Barbara, your Go To Related Records method did the trick, it worked perfectly.

For some reason the 2nd suggestion - attempt to loop through the portal rows got the same results as I had been getting . . . an empty email as the last one.

Thanks again!

For some reason the 2nd suggestion - attempt to loop through the portal rows got the same results as I had been getting . . . an empty email as the last one.

It looks like your relationship is set to allow the creation of new portal records - so the last portal row is actually an empty "ghost" row.

  • Author

aha, I see . . . that explains that, and a few other things.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.