December 30, 200619 yr 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
December 30, 200619 yr 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, 200619 yr by Guest
December 30, 200619 yr 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..).
Create an account or sign in to comment