You can override sorting specifications on the business component by using the All Mode Sort user property. If All Mode Sort is set to FALSE for a business component, effectively disregarding all other sort specifications, then you can set the ViewMode Sort user property to a particular sort specification when the business component is in a particular view mode.
For example, to sort a given business component by its Last Name field, and then by First Name, when the business component is in the AllView view mode, add the following business component user properties:
- All Mode Sort with value FALSE
- ViewMode Sort:3 with value Last Name, First Name
Use the ViewMode Sort user property to sort in views with visibility other than Personal or Sales Rep visibility, including Manager, All, Organization, Sub-Organization, Group, and Catalog views.
You can inactivate this user property or modify its value. You can also create new instances of this user property.
CAUTION: Sorts, including sorts defined by ViewMode Sort, must be based on indexed columns and in the sequential orders defined by the indexes to minimize any performance implications.