The Perceptive Enterprise Search Site Designer allows you to quickly change certain aspects of a website without modifying the HTML. A website has to be "designer aware" to support these customizations.
The default Perceptive Enterprise Search website and new websites created with Perceptive Enterprise Search are automatically "designer aware". If you are importing an existing Perceptive Enterprise Search 8 website it will not be supported by the designer without modification.
There are two main parts to the site designer, "named sections" and "variables". A named section is an area of the website that you can simply choose to display or hide. This enables you to build feature rich templates and allow a site administrator to choose whether they want a particular section to show or not. A "variable" enables you to output a stored value onto the web page. For example, by storing the site name in a variable there is only one place to edit the name and have the change be automatically reflected across the entire site.
Each variable is outputted using the {Var} symbol. Use this symbol wherever you want the variable to be substituted. For example, to substitute the site name, use the following:
<head> <title>{VAR name="SiteName" default="Perceptive Enterprise Search Site"}</title> </head>
The default websites are pre-configured with the following variables:
SiteName | Stores the website's name, usually displayed in the site's header. |
Relevance.Style | Override for the relevance bar style; values of either Default, Stars or Boxes. |
Relevance.Color | Specifies the color to use when rendering the relevance bar on Default or Boxes Mode. |
Each named section must be defined in the HTML of the particular web page or template. Named sections can be nested; multiple sections of the web page can be defined as the same section. To define a block of HTML as a named section surround it with the following:
{Section name="NameOfSection"} ... {SectionEnd}
For example, to mark the entities section, use the following:
{Section name="Entities"} <b>Entities</b> {EntityList MaxItemsPerType="10"} {SectionEnd}
The default websites are pre-configured with the following sections:
Concept | Show the concept taxonomy on the front page |
SearchOptions | Display the search options |
SearchOptionMnu | Display the menu-assisted search option |
SearchOptionAdv | Display the advanced search option |
SearchOptionNat | Display the natural language search option |
SearchStem | Display the option to allow stemming. |
SearchSounds | Display the option to allow sounds like. |
Filters | Display the filter options |
SearchConflate | Display the conflation options |
SearchThesaurus | Display the thesaurus options. |
SortBar | Display the sort bar on the result list. |
PageSelection | Display the page selection bar. |
NavPanel | Display the navigation panel. |
Categories | Display the categories list. |
Entities | Display the entities for the result list. |
Subscribe | Display the subscribe to search link. |
DocIcon | Display the icon for each document. |
DocRelevance | Display the relevance bar for each document. |
DocDate | Display the date for each document. |
DocSize | Display the file size for each document. |
DocHits | Display the hit count for each document. |
DocFilename | Display the filename for each document. |
DocumentNavigationBar | Display the document view bar (Browse, Detail etc). |
DocumentHeader | Display the document header, including icon and filename. |
DocumentSearchTerms | Display the search terms for the document. |
DocumentEntities | Display the entities for the document. |
The customization options for a website are stored in the website's Site.cfg file, which is located in the website's folder in Perceptive Enterprise Search\WebSites\SiteName. This file is an XML file and MUST be well-formed for Perceptive Enterprise Search to be able to open it.