QuerySummary Component Glitches When Complex Query Yields No Result

These known issues affect Coveo for Microsoft Dynamics 365 1.1.180912.3 (September 2018) and later versions of Coveo for Microsoft Dynamics 365 (see Coveo for Microsoft Dynamics 365 Release Notes).


In the Coveo JavaScript Search Framework QuerySummary component isn’t specific to Coveo for Microsoft Dynamics 365, but the following issues occur in this product only (see JavaScript Search Framework and QuerySummary Component. You should be aware of them before implementing the Query Summary component in a Coveo for Microsoft Dynamics 365 search page.

When specifying a message to display when a query doesn’t yield results and this message shows the unsuccessful query (${query}), complex queries are not displayed.

By default, the message to display is No results for "[query]". When a regular query such as sdfkjs doesn’t yield results, the message is therefore No results for "sdfkjs".

However, if unsuccessful, complex queries such as those produced when entity context is leveraged are not displayed in the message (see Understanding Entity Context). The message therefore appears as: No results for "".

Moreover, when the Cancel last action option is enabled and an initial context query doesn’t yield results, if the user clicks Cancel last action, they’re redirected to the entity list. Since their last action was to open an entity from a list (e.g., a case from a support case list), this action is canceled and the list is displayed again.


You can avoid the message issue by specifying a custom message that doesn’t contain ${query}.

No results

You can avoid the Cancel last action issue by leaving this option disabled, as it is disabled by default.

Recommended Articles