Gravatar for shirazi@rdacorp.com

Question by aga, Oct 30, 2015 1:09 PM

External Source results not displayed in Sitecore page preview

Hi

My CES is indexing Sitecore and 2 other sources(DB and web crawl). If i search (while within the Experience Editor), i get results only for the sitecore data. But, if I search for the same terms from the published endpoint, i get results from all 3 sources.

I've verified that the sources are checked and named on the Coveo Search sublayout's presentation. I've also verified that the call being made to includes this:

@syssource==("Crawl","DB") OR @syscollection==("Crawl","DB")

Any idea, how to debug this?

2 Replies
Gravatar for sholmesby@hhogdev.com

Answer by sholmesby, Oct 30, 2015 6:01 PM

Have you added permissions for the sitecore\admin user in CES?

  • Click on the Index -> Permissions.
  • Add. Security Provider: Your Sitecore security provider.
  • Type: User
  • Name: sitecore\admin
  • Rebuild the index.

If you're not logging in to the Experience Editor as sitecore\admin (and as a different user instead) maybe you need to add the 'Group' sitecoreAuthor instead?

  • Click on the Index -> Permissions.
  • Add. Security Provider: Your Sitecore security provider.
  • Type: Group
  • Name: sitecore\Author
  • Rebuild the index.
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Oct 30, 2015 1:41 PM

What are the fields on your external sources documents? Did you use any Sitecore translated field names? Did you use the isExcluded attribute for field names? Did you use externalFields?

I think it's just because you only defined the web index fields on your external documents. You may have forget to also include the master index fields on them.

Also, It's not needed to specify the sources and the collections in the properties editor of your Coveo search component. Just one of the two is enough.

Gravatar for shirazi@rdacorp.com

Comment by aga, Oct 30, 2015 3:16 PM

Jeff: how do I defined the master index fields on your external documents. ?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Oct 30, 2015 3:44 PM

You can follow this documentation: https://developers.coveo.com/display/SC201510/Displaying+External+Content+in+a+Search+Interface

Gravatar for sholmesby@hhogdev.com

Comment by sholmesby, Oct 30, 2015 6:00 PM

Have you added permissions for the sitecore\admin user in CES?

Click on the Index -> Permissions. Add. Security Provider: Your Sitecore security provider. Type: User Name: sitecore\admin Rebuild the index.

If you're not logging in to the Experience Editor as sitecore\admin (and as a different user instead) maybe you need to add the 'Group' sitecore\Author instead?

Security Provider: Your Sitecore security provider. Type: Group Name: sitecore\Author Rebuild the index.

Ask a question