Note: Does not throw an error if search has not already been enabled.
Enables users of OpenFin Workspace to search Salesforce data by registering a Salesforce search provider. The search provider uses the provided Salesforce connection to display results based on the inputted search query.
Note: Workspace must be running before calling this function.
Existing Salesforce connection that the search provider will use for retrieving search results.
Optional listener that is triggered when the user clicks on the search result that is displayed when Salesforce is no longer connected.
Name of the search provider that will be displayed to the user in Workspace (defaults to "Salesforce").
Brief description that will be displayed when the user selects the search provider (defaults to "Search Salesforce for accounts and contacts...").
Shortcut code consisting of one or more characters that selects the search provider when the user types a
/ followed by the command code (defaults to "s").
Generated using TypeDoc