I would like to know how I can create an upload button on a SharePoint page so a user is able to click on the upload button and upload a document. Like this one:
-
I have similar question however i have couple of folders created in library. I want to place document in that folder.– ND GuestApr 16, 2020 at 7:42
-
Sorry for reviving this old thread. Is it possible to "pre-add" the destination folder (document set), because my choose folder button does not work properly  When I click there a new window pops up but I cannot choose anything  Yes, it shows the right root destination, but I see no document (set) under this. When I first write the Folder manually in there [![enter image descriptio– CoHeJul 7, 2020 at 13:20
2 Answers
The upload form for a particular library can be accessed from
http://site/_layouts/Upload.aspx?List={ID to the library}
You can get the ID
by e.g. going to the Document Library Settings, and the URL should end with List=<ID>
. Note, that if the URL starts with %7B
and ends with %7D
, those are decoded to {
and }
respectively, meaning you don't have to add the braces to the URL.
When you have your upload URL, you can link it to your desired element such as an image or a text for an upload.
If you are using SharePoint Online, remember to add "15" to the URL prior to Upload. Example: //site/15/Upload=