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.

copy data from portal

Featured Replies

I want to go to the last row in a portal and copy a field to the layout where the portal resides. I have a quote file that stores quotes by date. I want to display the latest quote on the master inventory layout where the quote portal resides. This will give at a glance the latest quoted price for this part no., even thou it is in the portal. The portal is sorted by date, therefore the latest quote will always be in the last row of the portal. confused.gif

Have you tried duplicating your relationship and sorting by date descending? Then your 'first' related record, i.e. the one you would see with a simple related field (not a portal) on a layout, should be the most recent.

Go To Portal Row [select, Last]

Go To Field [select/perform, "Relationship::FieldName in Portal"]

Copy [select]

Paste [select, "Your Target FieldName"]

Does this help?

You may want to switch the Go to Portal Row and Go to Field statements, if you have more than one portal on the layout. Also, you can use Set Field [ fieldinthisfile, relationship::field ] instead of the Copy/Paste steps.

Still, I think it would be easier to use a descendingly sorted relationship and avoid scripting altogether.

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.