We have to upload about 50000 documents as attachments to items in a list (2-10 attachments per item). Requirements are: - We are not allowed to use Powershell. - We have tried to use CSOM, but site is using ADFS and we have problems with authorization in CSOM to connect to the site.
So our proposed solution is upload all the documents to a document library manually and with JavaScript move the documents to attachments of items in a list.
- Is there a better approach?
Which would be the better system for uploading documents to document library (we are thingking in OneDrive client, which synchronizes with document library, but it has a 5000 elements limitation):
Thanks in advance.
AddAttachment
operation from SPServices. This requires JQuery and makes using the client side model easier: spservices.codeplex.com/wikipage?title=Lists