AnsweredAssumed Answered

Portal Sorting

Question asked by on Dec 17, 2015
Latest reply on Dec 18, 2015 by

Does anyone know if there is a simple script routine that would essentially allow a user to sort records in a portal, based on their choice of a field?


So if there is a portal showing records of cats, with fields for <cat_age>, <cat_weight>, <cat_eye color>, could a user select in a field sort_order_CHOOSER  containing a value list of options: [Age; Weight; Eye Color] and then a script to go to the portal (named as an object), and then a script step that says something to the effect of "If sort_order_CHOOSER = "Weight", then sort the portal records by cat_weight?


Many thanks for any hints!