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.

Sort portal contents by external field

Featured Replies

Hi,

Can anyone tell me how i can sort the contents of a Portal by a field in a related table?

For example,

I have master table and layout with a portal showing data relating to the LINE ITEMS table.

The LINE ITEMS table has a primary key, ProductID Foreign Key, Quantity, etc. and a separate PRODUCTS table from which i import the contents of of the primary key ProductID into the foreign key ProductID in the LINE ITEMS table.

Thus the LINE ITEMS table is populated every time i run the import script with say 100 records (for 100 products) placing the ProductID in the aforementioned foreign key field. I have chosen not to show the ProductID in the portal, but instead display the Product name field PRODUCT::Product name (from the related PRODUCT table) so that for each line a human readable product name is shown.

My question is how do i sort the contents of the portal by the Product name, given that this is not a field contained within the LINE ITEMS table from which the portal was created.

Is there an obvious way that i haven't discovered or does this involve some workaround and possibly scripting?

Thanks in advance

Andy.

See:

http://www.fmforums.com/forum/showtopic.php?tid/188622/post/259763/#259763

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.