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.

Using Send Mail / Data From Portal

Featured Replies

Hi,

Here is what I have:

Click Here

What I am attempting to do with the script is send out information in the email body about the offender…name / dob / address etc.

The "Offenders Physical Address" is my problem area on the send mail script, the "Physical Address" comes from a related table (Offender_Address_Info) and is shown via a portal on my main layout.

The problem with the send mail script is that it is pulling the first address that is shown in the portal. I need it to show the last portal row entry. The "Physical Addresses" are shown and sorted by the date they were entered if that helps.

Is there a way for the address in the body of the email to show the last address which is shown in my portals?

Thanks,

James

Edited by Guest

You might want to just Sort the relationship itself by a date descending field, so the latest is on top. Then the relationship will get you the latest. Best to name the relationship with "_desc" or something, so you remember; I do :)-]

You will want a script and button to create new records for a portal sorted this way however.

  • Author

Thanks,

I thought that was what I may have to do. Just wanted to see if there was a way to tell the calc to go to the last portal row.

Thanks again,

James

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.