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.

Dynamic Sorting - across different tables

Featured Replies

I know how to do dynamic sorting based upon a global field, but what I want to try and do, is sort on different tables by the same field. The different tables is what's throwing me.

An example:

I have a few different tables all containing a field "Name"

When the user clicks on a button to view the list, the scriptparameter chooses the correct layout/table to view i.e

LIST_[color:red][get(scriptparameter)]

[color:purple](e.g LIST_Legal)

What I want to do, is go to the appropriate list, and have it sort dynamically. I have created the same field in each table (e.g name) so what I want to do is this.

GO TO LAYOUT - LIST_[color:red][get(scriptparameter)]

SORT FIELD - [color:red][get(layoutablename)]:):Name

i.e I'm trying to get away from a whole stack of

[color:purple]if get(scriptparameter) = "Legal" then sort LEGAL::Name

else if

get(scriptparameter) = "Business" then sort BUSINESS::Name

etc etc

Hope this makes sense

TIA

Unfortunately, they don't let us sort by calculation. You're stuck with "hard-coded" sorts. You'll need a sort script step for each context.

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.