Search results pages: AdvancedSearch / FormBasedSearch page plugin
Advanced Search/FormBasedSearch configurations define search result pages for a specific object type, their center view, detailed representation (right view), executable functions for both of them as well as the available facets, according to which search results can be filtered on the left. Also, it is determined here by which expressions the extended search can be run. Both AdvancedSearch and FormBasedSearch require available configurations of related content plugins as a precondition (see Content views for search results pages).
Advanced Search configuration
(example for "Global Search" object type)
-
General settings
-
The width of the left and right panels ("Left panel width"/"Right panel width" options) can be modified
-
The "Object type" for a future search is selectable (ISY Object, PIM2Product, Projects, Global search).
"OMNFindIndex" type has no support in HTML5 client
-
The following configuration options are not supported in HTML5 client
-
"Show language selector" (in old client language selector is shown on the search results page if the option is activated)
-
"Show "No results" message" (in old client "No results" message is shown in case of unavailable search results if the option is activated)
-
"Calculate results total count" (in old client total number of found objects is displayed if the option is activated)
-
-
-
"Search fields" tab. A set of expressions to search in can be defined (only the ones corresponding to the selected object type are available for configuration). Configured expressions are shown as facets on the advanced search results page or in the modal window for the extended search on the client-side. It is possible to assign specific options separated with the pipe symbol ("|") for some of configured expressions ("Options" column). The added values are selectable as the dropdown options for the attributes on the HTML5 client.
-
"Content views" tab. Content views of the appropriate object type are configurable for the center and right views. They define how the search results are visible in the frontend. Set default option defines the start view of the result page. If multiple content views are configured it is possible to switch them in the content view switcher in the frontend. The panel position for FSTable, FSSingleObject, LightTable, AssetVariation views is always “Center” while FSDetail view may have both “Right” or “Center” position.
It is possible to configure FSDetail of any object type for the right view in Advanced Search with "Global search" type.
-
Functions for the configured Advanced Search are assigned to each specific content view as secondary action functions as usual in OMN
-
"Rule values" tab.
The configuration is not supported in HTML5 client (In general, a configured rule represents an additional search term. That means that the restriction a user made in the Frontend (search query) is extended with the rule specified in the configuration. A common example is to exclude a particular path or directories from the user’s search)
Form-Based Search
(example for "Project" object type)
Like Advanced Search the FormBasedSearch generally allows searching within attributes an object may have. The properties objects can be found with are also added in the backend configuration. The search for any object type is supported with FormBasedSearch. In contrast to the Advanced Search it uses pre-configured attributes and operators that cannot be changed in the frontend (users fill in a form of given search fields).
The plugin is configurable almost in the same way as Advanced Search. In addition, the following configuration options are available:
-
"Background image" option is not relevant for HTML5 client. In the old client the configured image is shown as a background on the search results page.
-
"Panel identifier" option is not relevant for HTML5 client. In the old client it defines the name of the left panel with facets on the search results page.
-
"Enable search over database" (HTML5 only) - checked option enables search over database by custom attributes (see FormBasedSearch over database)
-
"Custom attributes" tab provides the configuration of additional attributes to search in. Configurable options:
-
Name - the name of the attribute
-
Type - information type (available values: string, boolean, date, number, enumeration)
-
'Get possible values' JS function - attribute values can be listed/adjusted (for "Enumeration" attributes only)
-
JS function to Provide SQL-query - prefilled if attributes added
-
JS function with JPA - prefilled if attributes added
If configured, the attributes can be added to the search fields.
the search by these attributes is possible only in case of checked "Enable search over database" checkbox.
-