Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Developer's Reference > Business Component User Properties > Controlling Search and Sort > Sorting According to the View Mode That the Business Component UsesThe ViewMode Sort: mode_num user property specifies a sort specification on a business component that is in view mode. The value for this user property must use the following format: The order that you use in this value determines the priority that Siebel CRM uses for each field that the sort uses. CAUTION: To avoid a performance problem, any sort that you define must reference an indexed column. The items in this sort sorts must occur in the same sequential order that this index uses. This configuration includes any sort that you define with the ViewMode Sort user property. mode_num contains an integer that identifies a view mode. Table 19 describes the integers that you can use. For information about these integers, see Siebel Object Interfaces Reference. You can use the ViewMode Sort user property to sort items in a view that uses visibility other than the Personal or Sales Rep visibility. You can use it with the following views: You can configure Siebel CRM to modify the value for this user property, create a new instance of it, or deactivate it. Example of Configuring the View Mode Sort User PropertyIf you set the All Mode Sort user property to FALSE for a business component, and if Siebel CRM displays this business component in a view mode that the ViewMode Sort user property supports, then Siebel CRM ignores all other sort specifications. For example, assume Siebel CRM must sort the records in a business component according to the Last Name field, and then by First Name, and that it must do this sort only if it displays this business component in an All view mode. Table 20 describes the user properties that you can add to the business component to support this example. For more information, see Overriding Sort Specifications on Business Components. |
![]() ![]() |
Siebel Developer's Reference | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |