I have a sharepoint docuemnt library and i'd like to create a link on my homepage that will launch a new item form associated to my list. Does anyone know what the url would be if my document library is named "test?"

4 Answers 4


If it is a document library you to build the following URL


  • Where {url3} is the URL to the site containing the document library e.g. http://servername
  • And {list-guid} is the GUID for the document library e.g.{C61C7F01-B778-402E-BCDF-5E2960B45372}. The GUID is in the URL when you are in the Document Library settings page.

If it is a list you need to build this URL


  • Where {url1} is the URL to the list for e.g. http://servername/Test
  • And {url2} is the URL to redirect back to when the new record has been added for e.g. you homepage URL - This is an optional parameter.
  • thanks. b/c i'm using an infopath form the url was actually "servername/listname/Forms/template.xsn" but your post got me on the right track. thanks.
    – user2825
    Commented Jun 28, 2011 at 11:52
  • 2
    This Source={url2} thing does not work if the url1 and url2 are to the items on different site collections. Do you know how to get around this issue? Vote up nonetheless, great answer, thanks.
    – Eedoh
    Commented Jan 17, 2013 at 16:23
  • Yes.. I also experienced this issue. If url1 and url2 are on different site collections then redirect doesn't works.
    – Zakir HC
    Commented Mar 2, 2014 at 12:40

Just add NewForm.aspx (default) to the List URL, eventually replacing AllItems.aspx or whatever is used for the current view.



  • Excellent! This solution seems to be universal enough to work still with ms265 / SharePoint online (as of Dec 2023).
    – Dirk
    Commented Dec 9, 2023 at 19:16

You can right click on the "Add a new item" at the bottom of your list or document library and then paste that as your link.

  • "You can right click on the "Add a new item" at the bottom of your list or document library and then paste that as your link" Tried that, nothing happens when I right-click
    – user17540
    Commented Jun 10, 2013 at 18:31
  • Specifically, you need to right click and then choose "Copy Shortcut."
    – DeNaeL
    Commented Jun 27, 2013 at 22:39
  • This does not work for SharePoint online (ms365) in "new experience" settings.
    – Dirk
    Commented Dec 9, 2023 at 19:13

In SharePoint 2013 you should use

<site collection url>/lists/<list name>/item/newifs.aspx



You can also append the source query string parameter to have the submit action take you to another page.

Note the NewForm.aspx will still work in 2013 but it will redirect you to this page.

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.