Gravatar for

Question by nick emmett, Aug 31, 2016 10:10 AM

Coveo in a Salesforce Napili template

In my Napili template that I'm building out - I currently have the standard, OOTB search bar, in the standard OOTB Napili header. If I type a search in there it displays the results in my Coveo search page that I created - is that right? And is it using the indexing in my Salesforce cloud?

Gravatar for

Comment by surbhi, Nov 6, 2017 2:57 PM

Need some help on the same topic. I have one community and added coveo "search" component and publish the site. i have 2 articles as of now. please see picture 1 which is the first page. now when i search "invoice" i see both the articles and search result at the bottom please have look at picture 2.

do i missed something? please advise. picture-1.pngpicture-2.png

this is urgent.

1 Reply
Gravatar for

Answer by gminero, Aug 31, 2016 10:31 AM

The OOTB Search bar in the Napili Template Header does not provide Coveo Results, You have to add a Search component in the body of the template to be able to use coveo's search within the community as described here

alt text

Gravatar for

Comment by nick emmett, Aug 31, 2016 10:40 AM

Thanks @gminero - appreciate the quick reply! So in my search page I have added the Coveo lightning Search component, is that what you mean? I haven't added the standard salesforce results component, just the Coveo one.

Thanks Nick

Gravatar for

Comment by gminero, Aug 31, 2016 11:31 AM

Once you have added the component, you should be able to search using the header search bar, and should see the highlighted results returned by Coveo. I have added a screenshot for reference purposes.

Gravatar for

Comment by nick emmett, Aug 31, 2016 11:54 AM

This is excellent - literally just made my life 98% easier! I was thinking I needed a different search box, but it seems that the Coveo search component takes whatever the search term was and returns results from it's index. Awesome!

Thanks for the help @gminero

Ask a question