Option SmartSearch

Last modified by Christopher Dittrich on 2026/04/22 11:50

1. General (config.general)

General UI, network, and system settings.

ParameterTypStandardwertDescription
general.telHandleStringtel:Protocol prefix for telephone numbers.
general.faxHandleStringfax:Protocol prefix for fax numbers.
general.mailHandleStringmailto:Protocol prefix for email addresses.
general.maxSearchResultsNumber100Maximum number of search results to display.
general.devPortNumber8081Port used for the local development server.
general.metaServicesUrlStringhttp://ippbxsrv/MetaServices/Base URL for the MetaServices API.
general.queryUrlStringsrc/JSON/SmartSearch_SearchResults.json?Relative URL path for search queries.
general.QRUrlString/MetaServices/QRCode.qrRelative URL path for generating QR codes.
general.mapsUrlStringhttps://www.google.com/maps?q=Base URL for mapping services.
general.showSocialLineBooleantrueToggles the visibility of social media or contact lines in the UI.
general.searchResultIncrementsNumber10Number of additional results loaded per increment (pagination).
general.dialModeStringswyxDefines the system for outgoing calls (swyx or native/teams).
general.localeStringde-DEDefault language and localization setting.

2. Local Storage (config.localStorage)

Keys used for saving data to the browser's LocalStorage.

ParameterTypStandardwertDescription
localStorage.previousSearchResultsStringsmartSearch::previousSearchResultsKey used to store previous search results.
localStorage.previousSearchTermsStringsmartSearch::previousSearchKeysKey used to store previous search terms.

3. Search (config.search)

Configuration for search behavior, node targeting, and result sorting.

ParameterTypStandardwertDescription
search.searchTypeNumberStringWebSearchNumberSearch type identifier for number-based searches.
search.searchTypeTextStringWebSearchIndividualSearch type identifier for text-based searches.
search.searchNodeStringSmartSearchPrimary node or endpoint identifier for searches.
search.userSearchNodeString(leer)Specific node identifier for user-scoped searches.
search.maxAutomatedSearchResultsNumber5Maximum number of results returned in automated or live search queries.
search.sortByStringdisplayNameLDAP fields used for sorting search results (up to 3 comma-separated fields).

4. Helpers (config.helpers)

Regular expressions used for string validation and parsing.

ParameterTypStandardwertDescription
helpers.urlRegexRegExp/(?:(?:https?\|ftp):\/\/\|\b(?:[a-z\d]+\.))(?:(?:[^\s()<>]+\|\((?:[^\s()<>]+\|(?:\([^\s()<>]+\)))?\))+(?:\((?:[^\s()<>]+\|(?:\(?:[^\s()<>]+\)))?\)\|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))?/iRegular expression to validate and extract URLs.
helpers.phoneFaxRegexRegExp/^\+[0-9-/]+$/Regular expression to validate phone and fax numbers.
helpers.mailRegexRegExp/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/iRegular expression to validate email addresses.
helpers.protocolRegexRegExp/^([a-z]+:)/iRegular expression to extract the protocol scheme from a string.