Kentico CMS 7.0 Controls

Overview

Overview

Previous topic Next topic Mail us feedback on this topic!  

Overview

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The CMSSearchResults control displays search results according to parameters provided from the CMSSearchDialog control. The controls use the SQL search engine, which utilizes standard queries to find results in the Kentico CMS database. The control can also receive search results using the CMS.DocumentEngine.TreeProvider.Search() method.

 

The SQL search uses the following queries:

 

Automatically generated queries for the data of individual document types. To override the search query for a document type, create a new query named searchtree in Site Manager -> Development -> Document types -> Edit document type -> Queries.

The cms.root.searchdocuments query for common fields (such as the document name).

The cms.root.searchattachments query for files uploaded as attachments. To search uploaded files, you need to configure the system for full-text search in files.

 

The control combines the results of all relevant queries into a single data source and displays the data.

 

The portal engine equivalent of the CMSSearchResults control is the Full-text search -> SQL Search results web part.

 

The following topics are available to help you familiarize yourself with the CMSSearchResults control:

 

CMSSearchDialog -> Getting started - contains a quick step-by-step tutorial that allows you to learn the basics of using the control

Configuration - describes and explains the properties that can be set for the control

Structure -  demonstrates what individual templates and transformations affect

Appearance and styling - describes how the design of the control can be modified