Smart search filter

  Previous topic Next topic Print this topic Mail us feedback on this topic!

  Default  
  Web part control ID: Serves as an identifier for the web part. This ID must be unique within the context of each page template. The value of this property may only contain alphanumeric characters and the underscore character ( _ ).  
  Web part title: Title of the web part displayed on the Design tab of CMS Desk. If empty, the value of the Web part control ID property is used for this purpose.  
  Disable view state: Indicates if view state should be disabled for this web part.  
  Disable macros: If checked, macros contained in the values of the web part's properties will no longer be resolved.  
   

  Visibility  
  Visible: Indicates if the web part should be displayed.  
  Hide on subpages: Indicates if the web part should be hidden on sub-pages. If checked, the web part will not be displayed on documents that inherit the web part from a parent document.  
  Show for document types: Contains a list of document types on which the web part should be displayed. If the currently selected document uses the page template containing this web part, but its type is not specified by this property, the web part will be hidden. The document types in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed on all document types.  
  Display to roles: Contains a list of roles to which the web part should be displayed. This may be used to implement documents with specific functionality for different types of users. The roles in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed to all users.  
   

  Filter properties  
  Search webpart ID: Specifies the ID of the Smart search dialog or Smart search dialog with results web part to which the filter should be connected. The web part must be on the same page.  
  Filter mode: Sets the type of user interface elements that should be used to select the filtering options. Possible options are checkboxes, radio buttons or a drop-down list.  
  Filter layout: Determines if the filtering options should be arranged horizontally or vertically. Not applicable for the drop-down list filter mode.  
  Filter auto postback: Indicates whether the search results should automatically be refreshed (via postback) whenever a filtering option is selected.  
  Values: Using this property, you can specify the possible filtering options that can be selected. Enter one option per line in format: <index field name>;<value of the field>;<displayed text>. When creating a conditional filter, the logical value of each filtering option must be specified. If the + symbol is added before the option, then only objects whose value in the given field matches the specified value will be included in the search. If the - symbol is added, only results that do not match the value will be returned.  
  Query name: <Specifies the name of the query which can be used instead of the Values property to dynamically create the filter options. The query must return three columns, which will be used in the following order: <index field name>,<value of the field>,<displayed text> Sample query that loads all document types as filter options: SELECT TOP 1000 '+classname', ClassName, ClassDisplayName FROM CMS_Class WHERE ClassIsDocumentType = 1  
  Query WHERE condition: Sets the WHERE condition of the query used by the filter. In order to function, the query must contain the ##WHERE## macro, which will be replaced by the content of this field.  
  Query ORDER BY clause: Sets the ORDER BY clause of the query used by the filter. In order to function, the query must contain the ##ORDERBY## macro, which will be replaced by the content of this field.  
  Filter clause: Sets a clause that overrides the logical values specified for filtering options. Possible choices are: None - no clause is added and the original logical values set for individual filtering options are used. Must - indicates that the conditions in all filtering options must be fulfilled (adds the + symbol). Must not - indicates that the conditions in all filtering options must not be fulfilled (adds the - symbol). Conditions are inverted compared to the Must option.  
  Default selected index: Sets the index of the filtering option that should be selected by default; 0 selects the first option etc. If empty, no option will be selected by default. For the Checkbox Filter mode, you can specify multiple options separated by semicolons.  
  Filter is conditional: If true, the filter limits the range of objects that are searched (where condition). If false, the filter determines the order in which search results are displayed (order by condition).  
   

  Web part container  
  Web part container: Specifies the name of the container (box) to be displayed around the web part. Only the containers defined at Site Manager -> Development -> Web part containers can be selected. The selected container can be edited directly by using the Edit button.  
  Container title: Sets a title for the container. This title is displayed only if the {%ContainerTitle%} macro is used in the code of the container.  
  Container CSS class: CSS class used for the container. Applied only if the {%ContainerCSSClass%} macro is used as the value of the Class attribute in the code of the container.  
  Container custom content: Custom content to be used in the container. Applied only if the {%ContainerCustomContent%} macro is used in the code of the container.  
  Hide container on subpages: Indicates if the web part container should be hidden on sub-pages.  
   

  HTML Envelope  
  Content before: HTML content placed before the web part. Can be used to display a header or add some encapsulating code, such as <div> or <table> elements to achieve the required layout.  
  Content after: HTML content placed after the web part. Can be used to display a footer or close the tags contained in the ContentBefore value, such as </div> or </table> elements.  
   

  AJAX  
  Use update panel: Indicates if an AJAX UpdatePanel container should be used for this web part.  
   

  Time zones  
  Time zone: Specifies the type of time zone used for the content of the web part.  
  Custom time zone: May be used to assign a custom time zone specifically for the content of this web part. If selected, the time zone will be used regardless of current user or website time zone settings.  
   

Help URL: http://devnet.kentico.com/docs/webparts/index.html?SearchFilter_properties.htm