Gravatar for

Question by Cris Corra, Sep 15, 2014 10:59 AM

Searching results from multiple sources on a CM/CD/CD Sitecore setup?

Following this documentation, I've added a Security Provider for my CDs urls and added the two sitecore accounts to the source. Results are still not showing on the CD websites:

The additional sources are showing on the CM server website, but not on the CD websites.

-Cris Corra

Gravatar for

Comment by Luc Bergeron, Sep 15, 2014 11:07 AM

Did you rebuild the source after the Sitecore accounts were added?

Gravatar for

Comment by Cris Corra, Sep 15, 2014 11:30 AM

Yes. I'm unclear as to what actually needs to be setup for the CD servers. They each have their own direct url, but they external requests go thru a load-balancer. Do they each need their own Security Provider pointing to the direct urls? or one that points to the unified url?

1 Reply
Gravatar for

Answer by Luc Bergeron, Sep 15, 2014 4:07 PM

You should not need to do anything special for CD servers. From what I understand, you don't need to create new Security Providers. You can simply specify the security provider name in the Coveo.SearchProvider.config file of the CD servers by setting the "SecurityProviderName" element. See

Let me know how it goes.


Gravatar for

Comment by Cris Corra, Sep 17, 2014 1:53 PM

I seem to have everything set correctly. My question about an additional Security Provider was because the Sitecore Server Url is one of its settings. I wondered if since this value is set to the authoring server url, it was not allowing the cd servers to pull the external source data.

Either way, it is still not working. I will open a support ticket as this is hampering our QA efforts.

Gravatar for

Comment by Simon, Apr 30, 2015 8:31 AM

The conclusion of the support case:

You need to add the same generated fields to the any external sources fieldsets in order to get those results from anywhere.

You simply need to set the "isExternal" attribute to "true" in the "fieldMap" for the fields that are shared across Sitecore sources and external sources. Doing this will prevent the fields name to be translated with an "f" prefix and a number suffix in the Sitecore sources. You still need to use the same fields in the external sources fields sets but only need to define them once without prefix and suffix.

Ask a question