Creating a seamless user experience in SharePoint often involves reducing the number of clicks a user needs to perform a task. One of the most common requests from site owners is the ability to place a prominent button or link on a homepage that takes users directly to a "New Item" entry form.
Whether you are working with a standard SharePoint List or a Document Library, understanding how to construct these URLs is essential for building intuitive intranets. In this guide, we will explore several methods to generate these links, ranging from simple URL manipulation to using List GUIDs and handling redirection.
Understanding the NewForm.aspx Structure
For a standard SharePoint List, the form used to create a new entry is typically named NewForm.aspx. By default, this file resides within the list's folder structure. If you have a list named "Requests," the most direct way to access the new item form is by appending the filename to the list's URL.
The Direct URL Method
To build this link, navigate to your list and look at the browser's address bar. You will likely see something like this:
https://yourtenant.sharepoint.com/sites/Marketing/Lists/Requests/AllItems.aspx
To create a direct link to the entry form, simply replace AllItems.aspx with NewForm.aspx:
https://yourtenant.sharepoint.com/sites/Marketing/Lists/Requests/NewForm.aspx
This method is highly effective for modern and classic SharePoint lists alike. It is clean, readable, and easy to maintain. If your list is not inside the /Lists/ subfolder (which sometimes happens with older migrated sites), simply find the base path of the list and append the form name.
Linking to Document Library Uploads
Document Libraries behave slightly differently than Lists. While lists focus on metadata entry, libraries focus on file uploads. If you want a link that triggers the upload dialog for a library named "Invoices," the URL structure changes to use the SharePoint layouts directory.
Using the Upload.aspx Page
The most reliable way to link to a library upload form is via the Upload.aspx application page. This requires the List's unique ID (GUID). The structure looks like this:
{SiteURL}/_layouts/15/Upload.aspx?List={List-GUID}
How to Find Your List GUID
- Navigate to your Document Library.
- Click the Gear icon (Settings) and select Library settings.
- Look at the URL in your browser. The GUID is the string of characters following
List=. - Note: The URL will be encoded. For example,
%7BC61C7F01-B778-402E-BCDF-5E2960B45372%7D. You should replace%7Bwith{and%7Dwith}or simply use the encoded string as is.
Example URL:
https://yourtenant.sharepoint.com/sites/Finance/_layouts/15/Upload.aspx?List={C61C7F01-B778-402E-BCDF-5E2960B45372}
Controlling Redirection with the Source Parameter
One common frustration for users is that after they click "Save" or "Submit" on a new item form, SharePoint often redirects them to the default list view. If you launched the form from the homepage, your users probably want to go back to the homepage once they are finished.
You can control this behavior using the Source query string parameter. By appending ?Source=YourURL to the end of your link, you tell SharePoint exactly where to send the user after the form is closed.
Example with Redirection:
https://yourtenant.sharepoint.com/sites/Marketing/Lists/Requests/NewForm.aspx?Source=https://yourtenant.sharepoint.com/sites/Marketing/SitePages/Home.aspx
This creates a "loop" that keeps users within the context of your dashboard or landing page, significantly improving the user experience.
Version-Specific Considerations (SharePoint 2013 and Modern)
While the methods above work for most versions of SharePoint, there are some nuances to keep in mind depending on your environment.
SharePoint 2013 and InfoPath
In SharePoint 2013 environments, especially those using InfoPath or customized forms, the default path might redirect. You might find that the following path is more direct:
{SiteCollectionURL}/lists/{ListName}/item/newifs.aspx
While NewForm.aspx still works, it often acts as a redirector to newifs.aspx in these older environments. Using the latter can save a fraction of a second in load time.
Modern SharePoint Experience
In Modern SharePoint, clicking "New" usually opens a side panel (a "blade") rather than a new page. When you use a direct link to NewForm.aspx, you are forcing SharePoint to open the form in a full-page experience. This is often preferred for complex forms with many fields, as it provides more screen real estate for the user.
The "Right-Click" Shortcut
If you are looking for the absolute fastest way to get a link without manually typing out URLs or searching for GUIDs, you can use the browser's native functionality:
- Go to your SharePoint List or Library.
- Locate the + New button or the Add new item link at the bottom of the list (in classic view).
- Right-click the button.
- Select Copy link address.
This will give you the exact URL SharePoint uses internally. You can then paste this into a "Quick Links" web part, a Hero web part, or a standard hyperlink on your page.
Frequently Asked Questions
How do I find the internal name of my list for the URL?
The internal name is visible in the URL when you are viewing the list settings. It is important to use the internal name (e.g., "ProjectTasks") rather than the display name (e.g., "Project Tasks") if they differ, as spaces in display names are converted to %20 or omitted in some URL structures.
Can I link to a specific Content Type form?
Yes. If your list has multiple Content Types enabled, you can add &ContentTypeId=0x01... to the end of your NewForm.aspx URL to force the form to load a specific type. You can find the Content Type ID in the List Settings by clicking on the specific Content Type name.
Does the Source parameter work with external URLs?
No, for security reasons (to prevent open redirect attacks), SharePoint generally requires the Source parameter to point to a location within the same SharePoint domain or site collection.
Wrapping Up
Providing direct access to forms is a simple yet powerful way to enhance SharePoint usability. By mastering the NewForm.aspx path, utilizing the Upload.aspx page for libraries, and leveraging the Source parameter for redirection, you can create a high-end, application-like feel for your SharePoint sites.
Always remember to test your links with a user account that has "Contribute" permissions to ensure the form opens correctly and the redirection behaves as expected.