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.

duplicating with a button

Featured Replies

I've got a portal on my accounts page with orders in it, and I've got a button on each row to duplicate the record on that row. Right now the script for that button looks like:

Go To Field[field_in_portal]

Duplicate Record/Request

Now sometimes it works right and the order is duplicated, but if a field in the portal still has the focus, it duplicates the account record instead of the order.

In case I made no sense here's a picture of my portal:

portal.jpg

The little "D" button is supposed to duplicate the row it's on.

Thanks for any suggestions.

You would need a Go to Related Records [] step, then run the Duplicate script step from a sub-script in the portal's file. There's no need for the Go to Field [] step because the focus will already be in the portal row that you click.

You may also want to either disable 'Allow creation of related records' in the portal's relationship, or have your Duplicate script actually check that there's a related record before proceeding. I'm thinking of the possiblity that a user clicks the duplicate button on that last row.

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.