Option SmartSearch
Last modified by Christopher Dittrich on 2026/04/22 11:50
1. General (config.general)
General UI, network, and system settings.
| Parameter | Typ | Standardwert | Description |
| general.telHandle | String | tel: | Protocol prefix for telephone numbers. |
| general.faxHandle | String | fax: | Protocol prefix for fax numbers. |
| general.mailHandle | String | mailto: | Protocol prefix for email addresses. |
| general.maxSearchResults | Number | 100 | Maximum number of search results to display. |
| general.devPort | Number | 8081 | Port used for the local development server. |
| general.metaServicesUrl | String | http://ippbxsrv/MetaServices/ | Base URL for the MetaServices API. |
| general.queryUrl | String | src/JSON/SmartSearch_SearchResults.json? | Relative URL path for search queries. |
| general.QRUrl | String | /MetaServices/QRCode.qr | Relative URL path for generating QR codes. |
| general.mapsUrl | String | https://www.google.com/maps?q= | Base URL for mapping services. |
| general.showSocialLine | Boolean | true | Toggles the visibility of social media or contact lines in the UI. |
| general.searchResultIncrements | Number | 10 | Number of additional results loaded per increment (pagination). |
| general.dialMode | String | swyx | Defines the system for outgoing calls (swyx or native/teams). |
| general.locale | String | de-DE | Default language and localization setting. |
2. Local Storage (config.localStorage)
Keys used for saving data to the browser's LocalStorage.
| Parameter | Typ | Standardwert | Description |
| localStorage.previousSearchResults | String | smartSearch::previousSearchResults | Key used to store previous search results. |
| localStorage.previousSearchTerms | String | smartSearch::previousSearchKeys | Key used to store previous search terms. |
3. Search (config.search)
Configuration for search behavior, node targeting, and result sorting.
| Parameter | Typ | Standardwert | Description |
| search.searchTypeNumber | String | WebSearchNumber | Search type identifier for number-based searches. |
| search.searchTypeText | String | WebSearchIndividual | Search type identifier for text-based searches. |
| search.searchNode | String | SmartSearch | Primary node or endpoint identifier for searches. |
| search.userSearchNode | String | (leer) | Specific node identifier for user-scoped searches. |
| search.maxAutomatedSearchResults | Number | 5 | Maximum number of results returned in automated or live search queries. |
| search.sortBy | String | displayName | LDAP fields used for sorting search results (up to 3 comma-separated fields). |
4. Helpers (config.helpers)
Regular expressions used for string validation and parsing.
| Parameter | Typ | Standardwert | Description |
| helpers.urlRegex | RegExp | /(?:(?:https?\|ftp):\/\/\|\b(?:[a-z\d]+\.))(?:(?:[^\s()<>]+\|\((?:[^\s()<>]+\|(?:\([^\s()<>]+\)))?\))+(?:\((?:[^\s()<>]+\|(?:\(?:[^\s()<>]+\)))?\)\|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))?/i | Regular expression to validate and extract URLs. |
| helpers.phoneFaxRegex | RegExp | /^\+[0-9-/]+$/ | Regular expression to validate phone and fax numbers. |
| helpers.mailRegex | RegExp | /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/i | Regular expression to validate email addresses. |
| helpers.protocolRegex | RegExp | /^([a-z]+:)/i | Regular expression to extract the protocol scheme from a string. |