Gravatar for vinayak.chauhan@digitaslbi.com

Question by vinayak.chauhan, May 8, 2017 9:55 AM

To retrieve total result count for Tab View

Hello,

I need to show Total result counts in Tab for different sources. I tried to use the link and link but its having specification of "Coveo_Web_Index" And it on "querySuccess" .

I need to total count near the caption of the tab and that could be on load or init only. Also it should refer the given Source which could be master / Web / any external site name as well.

Any sample or suggestion about such requirement?

1 Reply
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, May 8, 2017 11:31 AM

This example at the end of this page is exactly what you need:

Advanced Integration with Custom TypeScript Component - Implementation

It executes a new query considering the expression defined on your tab and the last executed query.

The code and its comments are pretty self-explanatory. If you need any help, let us know.

Ask a question