What is the URL for uploading a document to a library? I have a document library whereby users can view and upload documents of several different content types.

I have also created a list that that has a link for all the views I created. There is a column that stores the URL for uploading a document to the document library. The reason to add this url being situations when the users stumble on the fact they need to click on Upload Documment.


When upload form is open, right click on it and then click properties. You will get the URL in properties window.

  • I didn't have "Properties" for this. I did have "View Frame Source" which gave me information that I could deduce the link from. Dec 12 '19 at 13:18

You can create the url dynamically by using the following: http://sitecollectionurl/_layouts/Upload.aspx?List={document library id}

In order to get the document library id, navigate to the Library Settings page. You will find the ID in the address bar as shown below:

enter image description here

You will have to decode the id using this link and then use the plain id in the url mentioned above.

  • I get the result: "Hmm. We’re having trouble finding that site. We can’t connect to the server at www.sitecollectionurl.com.' :/
    – G-E
    Mar 23 '20 at 16:12

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