Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.3
SharePoint Connector Issue: how to use the same list provider for multiple content items.

Q: I receive the following error when I try to set the same list provider as child provider for two or more content nodes:
System.ArgumentException: Item has already been added. Key in dictionary: “1” Key being added: “1”

 

A: The reason is that the SharePoint Connector uses additional caching layer to increase performance and reduce communication between Sitecore and SharePoint and this feature stores the items as index-entries based on the provider.
The only quick fix for this problem is to create two separate list providers with the same settings.