Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

SharePoint Server Side Integration with Dynamics 2016

Posted on by Microsoft Employee

Hi

We are currently in the progress of migrating from using the list component with an on-premise sharepoint to using server side sharepoint integration with sharepoint online.

The actual upgrade to use the server side integration and the document migration has gone smoothly. 

The problem is in relation to the throttling that sharepoint is imposing for queries returning more than 5000 items. 

We have 30,000 accounts and from our current integration with Dynamics, each has had a folder created under the Account document library in sharepoint.  Each account may have between 1 and 100 documents in it.  When viewing through dynamics we can initially see these documents, BUT the list is sorted by the document path.  This is not helpful for us and we need to be able to sort the documents by date.  As soon as the sorting is changed on the document grid, all of the documents disappear and the error message 'A list of files from the following document locations could not be retrieved' is displayed.

We have tried to add SharePoint indexes to the modified date columns and name columns - but still no joy.

I have logged this here (although its a SharePoint throttling issue) as its most likely that users of dynamics will have come up against this problem. 

Many thanks

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans