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


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.

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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