8

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: enter image description here

2
  • I have similar question however i have couple of folders created in library. I want to place document in that folder.
    – ND Guest
    Commented Apr 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 ![enter image description here](i.sstatic.net/aHf3d.png) When I click there a new window pops up but I cannot choose anything ![enter image description here](i.sstatic.net/Vzd01.png) 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
    – CoHe
    Commented Jul 7, 2020 at 13:20

3 Answers 3

8

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.

3
  • could you give me a example please :)
    – AY_91
    Commented Jun 13, 2017 at 7:51
  • @AY_91 added a screencap for an example.
    – moe
    Commented Jun 13, 2017 at 7:58
  • I found it before you screenshot :P :P :P
    – AY_91
    Commented Jun 13, 2017 at 9:15
0

For SharePoint Online:

  • Go to Library Settings.
  • Copy the URL and change "listedit" to "upload"

From: https://site/_layouts/15/listedit.aspx?List=%7B370046a4-3a68-4cfd-9866-a8dbe807dc0f%7D

To: https://site/_layouts/15/upload.aspx?List=%7B370046a4-3a68-4cfd-9866-a8dbe807dc0f%7D

-1

If you are using SharePoint Online, remember to add "15" to the URL prior to Upload. Example: //site/15/Upload=

1
  • Where and Why??
    – Benny Skogberg
    Commented Jul 17, 2018 at 17:10

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.