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.

Yet another sorting question

Featured Replies

Is there any way I can have the "blank" or "new" record in the portal be sorted to the top of the portal? i.e. when you use portals, you can enter new data at the bottom of the list below your actual data. I would like this to default to the top when I open a particular layout, because the users will be adding a new entry every time they have to open that layout.

The only way I know of is to turn off "allow creation of related records", make a "New Row" button and use it to call a script. The script can create the related record with a default value in the sort field that would put it first (like "" or 0 or something).

Jeff

  • Author

Hmmm... I don't think that would work for me. I have "allow creation of related records" turned on because I want the layout that the portal resides on to be able to create records in database that the portal is showing.

Jeff's solution would not prevent you from adding rows... you'd just have to click a button.

Your button would run an external script in the line items database which would create a related record, and put a number in a field, "LineNumberField". This number would have to be 1 higher than the last entry in that portal (or more... you could just use a simple serial number I guess).

Your relationship would then have to be sorted in DECENDING order of the lineNumberField.

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.