The general structure of a base query section in the xxx_Config.xml file is following:
Name="basequeryname"
Description=""
ObjectTypeName="objectclass">
...Groups
...SortList
...SearchList
</BaseQuery
where basequeryname is called from the xxx_TabItems.xml, with BaseQueryName command, and objectclass is the class of objects as defined in schema. See Short guide to frequently used objects.
Don't change the names of base queries unless you perform a thorough replacement of all occurrences of the base query name in all config files.
The ArticlePicker base query, defined in Ted4_Config.xml uses the class "article" <BaseQuery Name="ArticlePicker" Description="" ObjectTypeName="article"> ...Groups ...SortList ...DirectoryStyleList ...SearchList </BaseQuery The above base query is called from the Ted4_TabItems.xml, <l:ShellData.ShellData> section of the Ted4Articles main tab: <l:ShellData> <l:ShellData.SearchCriteria> <l:SearchCriteria Name="Search" BaseQueryName="ArticlePicker" SearchName="Search" AutoApply="True"/> Moreover, it is called from the <l:ShellData.ShellData> section of the Ted4PubDests main tab: <l:SearchCriteria Name="ArtSearch" BaseQueryName="ArticlePicker" SearchName="Search" AutoApply="True"/> Moreover, it is called from the <l:ShellData.ShellData> section of the Fred4Pages main tab: <l:SearchCriteria Name="ArticleSearch" BaseQueryName="ArticlePicker" SearchName="Search" AutoApply="True"/> |
See also