MelJ Posted December 30, 2006 Posted December 30, 2006 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
Stuart Taylor Posted December 30, 2006 Posted December 30, 2006 (edited) 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 December 30, 2006 by Guest
comment Posted December 30, 2006 Posted December 30, 2006 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..).
Stuart Taylor Posted December 30, 2006 Posted December 30, 2006 Very very nice demo comment / soren / john mark / Minh ...
Recommended Posts
This topic is 6542 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now