Documentation Center

List view column filters

In the Content Manager Explorer, you can use filters in the column headers to sort items displayed in the list view. You can configure column filters groups in the CME.config file and the filters each column uses in the ListItems.xml file.

Procedure

  1. Navigate to your Content Manager installation \Tridion\web\WebUI\Editors\CME\Configuration folder.
  2. Open CME.config in a text editor.
  3. In the <clientconfiguration> section, add or modify the <Grouping> filters. Each <Grouping> element represents a filter and contains the following child elements:
    • The <Title> element is the name displayed in the interface.
    • The <Characters> element contains a string of characters on which you can sort the column on.
    <clientconfiguration>
    	<ColumnFilters>
    		<Groupings>
    			<Grouping>
    				<Title>0 - 9</Title>
    				<Characters>0123456789</Characters>
    			</Grouping>
    			<Grouping>
    				<Title>A - H</Title>
    				<Characters>abcdefgh</Characters>
    			</Grouping>
    			<Grouping>
    				<Title>I - P</Title>
    				<Characters>ijklmnop</Characters>
    			</Grouping>
    			<Grouping>
    				<Title>Q - Z</Title>
    				<Characters>qrstuvwxyz</Characters>
    			</Grouping>
    		</Groupings>
    	</ColumnFilters>
    </clientconfiguration>
  4. Save and close CME.config.
  5. Navigate to your Content Manager installation \Tridion\web\WebUI\Editors\CME\Xml\ListDefinitions folder.
  6. Open ListItems.xml in a text editor.
  7. Each <list:column> element in the <list:columns> section defines amongst others, which filter the column uses. For example:
    • columnfilter="group" uses the filter <Groupings> defined in the CME.config file
    • columnfilter="value" uses the item value
    <list:columns>
    	<list:column id="IconColum" type="icon" title="" width="20" enableresizing="false" enablesorting="false" enablefiltering="false" selector="@Icon" />
    	<list:column id="TitleColumn" type="data" title="{Resources: Tridion.Web.UI.Strings, Name}" selector="@Title" enablefiltering="true" columnfilter="group" />
    	<list:column id="NamedType" type="data" title="{Resources: Tridion.Web.UI.Strings, Type}" dictionary="ItemTypes" selector="@Type" enablefiltering="true" columnfilter="value" />
    	<list:column id="FromPub" type="data" title="{Resources: Tridion.Web.UI.Strings, FromPublication}" selector="@FromPub" enablefiltering="true" columnfilter="value"/>
    	<list:column id="Modified" type="data" title="{Resources: Tridion.Web.UI.Strings, Modified}" selector="@Modified" translate="Tridion.Utils.Localization.TranslateDate" enablefiltering="true" columnfilter="daterange" />
    </list:columns>
  8. Save and close ListItems.xml.