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.

Featured Replies

In a Portal I have a field "Priority"

The user enters a number manual into "Priority"

I would then like the Portal sorted numerically.

1

2

3

4

5

6

7

8

9

10

11

etc.

With records that don't have anything in the Priority field to be last on the list.

OK, so tell the portal to sort on that field "priority" either descending or ascending, probably descending.

Is that what you're trying to do?

Old Advance Man

This is not the most effective solution probably but it will do the job:

1. Define a summary field "MaxPriority" which will hold the maximum of Priority.

2. Define a calculation field called SortValue with formula like

If(Priority = 0 , MaxPriority+1 , Priority)

Make sure the result is Number

3. In the Define Relationship window - specify to sort related record by the SortValue field ascending.

It will work because if Priority is 0, then SortValue will become 1 more then the highest priority field. So, it will appear in last. Elsewise, it stays where it is supposed to.

Vote me if it helps...

  • Author

simon1663

Perfect!

Since it wasn't mentioned, I feel obligated to point out the often-overlooked Sort by Custom Order Based on Value List. Just define a value list with all the numbers in it, and sort on that. Perfect! cool.gif

Simplest solution: in the Define Relationships, sort the relationship by relationship::Priority, in ascending order.

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.