1

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.

2 Answers 2

3

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

1
  • I didn't have "Properties" for this. I did have "View Frame Source" which gave me information that I could deduce the link from.
    – user43832
    Commented Dec 12, 2019 at 13:18
3

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.

1
  • 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
    Commented Mar 23, 2020 at 16:12

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