Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > Configuring Views, Screens, and Applications > Creating and Deploying an Application > Customizing the Sort Order for Siebel CRMTo customize the Sort Order dialog box for Siebel CRM, you set the Sort Web Page property of the application object to use the template file for the Sort Order dialog box. You can use the Sort Dialog to display one or more instances of a list of fields on which to sort, and the sort order to use. You can use a control that calls the SortOrder method to call the Sort Dialog. You can use this control only in a base template of a list applets. For information about other sort capabilities, see How a Business Component Sorts Records. You use the swe:sort-field tag to display the list of sortable fields and the sort order options. This sequence attribute is a required attribute of the swe:sort-field tag that specifies the order in which Siebel CRM sorts the chosen columns. For information how to configure tags and web templates, see About Siebel Web Templates. The following code is an example of the format for the swe:sort-field tag: <swe:sort-field sequence="1"/> This tag renders the following HTML select lists:
You can include as many swe:sort-field tags in the sort web page as you require. To customize the sort order for Siebel CRM
Code Fragment from an Example Sort Web PageThe following code is a fragment from an example sort web page: <table width=100% bgcolor="#EEEEEE" border=0 cellspacing=0 cellpadding=3> <td><swe:pageitem id="1" property="DisplayName"/></td> <td><swe:sort-field sequence="1"/></td> <!-- First column to sort on --> <td><swe:pageitem id="2" property="DisplayName"/></td> <td><swe:sort-field sequence="2" /></td> <!-- Second column to sort on --> <td><swe:pageitem id="2" property="DisplayName"/> </td> <td><swe:sort-field sequence="3"/></td> <!-- Third column to sort on --></tr> |
Configuring Siebel Business Applications | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |