1

I Want to upload a file in document library using Client object model with ECMA script Any help will be appreciated

3
  • What browser(s) are you using/supporting? Good luck trying to do it with anything less than an HTML 5 compatible browser! Commented Jul 31, 2013 at 19:04
  • Why should that be an issue? The Client Object Model for SharePoint is quite capable even without fancy HTML 5 features and jQuery extensions Commented Jul 31, 2013 at 19:07
  • I don't think the Ecmascript Client Object Model has a method to upload a file into the document library. Most suggestions I have seen is to use the Copy.asmx webservice with jquery, but then you run into issues with serializing the file. There are some jquery plugins and AJAX-based solutions, but I find them cumbersome to get working. HTML 5 browsers have FileReader class that greatly simplifies the process! social.msdn.microsoft.com/forums/windowsazure/fr-fr/… Commented Jul 31, 2013 at 19:17

1 Answer 1

1

My suggestion is to start by doing a Google search for "sharepoint upload file javascript"

1
  • It is a bit ridiculous when prowl takes the time to write a question here, when the answer is a simple search away. Probably with a link back here aswell! :) Commented Jul 31, 2013 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.