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.

Resort a Portal Via Script?

Featured Replies

I have a portal that I would like to sort different ways via buttons.

So far, the only way I can see is to create a different layout for each portal since the sort order is set when the portal is created. This would be a huge pain. I'm guessing there's a better way....???

HELP!

Thanks,

Mel

It may be a pain but it is probably the best in terms of performance you have 2 options that i can see...

1. use an invisible tab and use buttons to switch between the tabs (each tab would have the portal sorted in different ways)

Good performance low effort

2. Create a global field "Sort by" and attach a pop up list of the field names you want to sort by ... create a calculation field "Sort Data" and use the GetField ( ) function and specify the portal be sorted by this calculation field.

bad performance high effort

The second one is more the way you are thinking ... but you may find the first is much friendlier to yourself and your impatient users.

8.5 would also allow you to do this better as you can easily switch tabs via scripts. (you can use the gotofield script step and stick a field on the tab layout to script in v8)

Edited by Guest

There's a link to a demo of #1 here. #2 can be much more complex than you think, if your fields are of different data types (text/number/date..).

Very very nice demo comment / soren / john mark / Minh ...

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.