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 a portal row??

Featured Replies

I must be blind. But I cannot determine how to sort a portal row outside of the preset sort. I want to be able to sort the data in the portal by the field names. Thoughts??

Thanks!!!

Right-click on your portal, dnowlan, and select 'Portal sort'

  • Author

Thank you, however, I missed some important info. i need to automate the sort in the portal by scripts and button clicks and it need to be compatible with the web.

  • Author

Anyone have any insight on this? Very appreciated. Thanks!

  • Newbies

(First post ever - Mwahahaha)

I dont believe FMP gives u any way to directly do this in any easy way... But I have had and solved this problem myself, in the hard way..

I made my portal and sorted it asc by a field called this_is_my_sort_field.

This field contained a calculation that gave it numbers (the current record number or record_count - current record number, read ASC and DESC)

Then i used a global_var to tell my calculation which field i wanted to sort by..

Something like this:

Case(

Menu::Current_Sort = "1"; Get ( RecordNumber );

Menu::Current_Sort = "2"; Menu::Buttons_Count - Get ( RecordNumber );

Menu::Current_Sort = "3"; b_Order;

Menu::Current_Sort = "4"; Menu::Buttons_Count - b_Order;

)

b_Order is the default order setup by the admin (could be anything really)

This was the basic of how one of my mac os x finder alike menu's works.. hope this brings light to your problem? blush.gif)

- Matte

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.