Is it Possible to upload a document to a SharePoint Document library with jquery code?
Is there an equivalent control to asp:fileupload on client side for selecting the file?
Here's the goal:
1) Solution should be a code block I paste in; and not a webpart or compiled solution or App.
2) And I don't want to use the native SharePoint file upload or editform page that comes up to set metadata.
Create a new SharePoint aspx page that:
- enables users to upload selected file to specific SharePoint document library as a specific hard coded user
- rename the file to some random unique sequence if :
- the file does not already exist.
- the file must be a specific file type (pdf)
- must be able to set some metadata column values for the file
These links lead me to believe it might be possible:
http://msdn.microsoft.com/en-us/library/ms454491(v=office.14).aspx
http://blog.yahoo.com/lamung/articles/91696
Upload a file to SharePoint through the built-in web services
I will pay for a working solution. Ideally something with only client side code using web services.