Sorting related list by hidden field
Question
I have a simple logic which
defines the sorting order of a related list, but it's not a VERY simple
one like alphabetically of ascending/descending.
I defined an
additional field to capture this logic, and i want to sort the related
list according to this field, but not to show this field on the layout.
Any ideas?
Answer
I don't think you'll be able to sort without displaying the field
unless you use some Visualforce, which sounds like it might be more work
than what you want to do. The documentation on related lists says that
sorting is only available by selecting the field you want to sort on
from the list of fields shown and selecting ascending/descending. (http://help.salesforce.com/HTViewHelpDoc?id=customizing_related_lists.htm&language=en_US" target="_blank)
I know space is a premium, but you can just stick it at the end of the
related list and sort, and hopefully your users won't mind too much.
No comments:
Post a Comment