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.

Insert row in a portal

Featured Replies

Hi,

Is it possible to insert a row (record) within two existing rows in a portal?

Regards,

Garu

Unless specified otherwise, new portal records appear at the bottom (last) row of the portal.

The trick is to specify a sort order for the portal (or the relationship the portal is based on). This could be a numeric "sort" field, and insert the appropriate value for the new record.

Say the portal records have values in their sort field:

3

6

12

13

14

18

To insert a record between records 6 and 12, create a new related record and give it a sort value between 7 and 11 inclusive:

3

6

7 <-- new record

12

13

14

18

Part of the challenge for this is creating an interface that makes it easy for the user to insert the record in the right place. This could be as simple as buttons in each portal row that say "insert record above" or "insert record below" which runs a script that works out the correct value for the sort field, creates the new related record and sets the value.

  • Author

I had that idea beforehand. It seems that it's the only way to go... Thanks.

Thanks,

Garu

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.