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
- Navigate to your Content Manager installation
\Tridion\web\WebUI\Editors\CME\Configurationfolder. - Open
CME.configin a text editor. - 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> - The
- Save and close
CME.config. - Navigate to your Content Manager installation
\Tridion\web\WebUI\Editors\CME\Xml\ListDefinitionsfolder. - Open
ListItems.xmlin a text editor. - 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 theCME.configfilecolumnfilter="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> - Save and close
ListItems.xml.