Redirect to a different page after adding new list items in SharePoint 2013/2016/Online
Check out Best Alternative to InfoPath -> Try Now
This SharePoint tutorial explains, how to redirect to a different page after the user submits an item to a SharePoint 2013/2016 list. By default when the user submits an item to a SharePoint 2013 list, it redirects to the AllItems.aspx page (AllItems view page). But my requirement is after the user submits the item it should go to a Thank you page (custom site page created to display a thank you message).
By using this tricky approach we can easily redirect to a different page after adding or submitting an item to a SharePoint 2013/2016 or Online list.
Redirect to different page after submitting an item to SharePoint 2013 list
This might not be the best approach and one of the solutions you can try out. Here are a few things involved in this process:
Make sure you have your custom page is ready where you want your user to navigate after adding the item. I have just created one site page and URL is :
Then open your SharePoint 2013 list and then click on a +new item (to add an item to the list). Then copy the URL from the browser. It will be something like below:
Here notice the parameter “Source=” which has one URL assigned to it. Basical,ly that is the AllItems.aspx view URL. So when user Submits an item to the list, then user usually redirect to that page.
Now remove everything whatever presented after “Source=”. And then put your custom page URL which looks like below:
Here even you can put any external page like:
Then remove the +new item link which is presented in the list. You can follow this article to do that.
Now we give an option in the left navigation to add an item to the list.
Open your site, from the Settings icon click on Site Settings. Then in the Site Settings page, click on Navigation under Look and Feel.
Here go to “Structural Navigation: Editing and Sorting” section in the Navigation Settings page. Here click on the Add Link and then in the Navigation Setting dialog box to give one Title and in the URL put the URL which we have prepared in the Step-2 which will look like below:
After this you will be able to see the link in the left navigation like below:
You may like following SharePoint tutorials:
- SharePoint 2013 Redirect user to custom PageNotFoundError page
- SharePoint 2013 Create Custom Save and Redirect Button On A SharePoint Form
- How to disable mobile page redirection for SharePoint 2013?
- Redirect to a different page using jQuery in Asp.Net
- SharePoint redirect to access denied page
- Redirect user based on browser language in SharePoint 2010/2013/2016/Online
- Redirect User to Success or Error page in SharePoint 2013/2010
Now when the user clicks this navigation link then it will be redirected to the Add New Item page.
There whenever a user submits an item, he will be redirected to the page you have mentioned in the Source parameter. Hope this will be helpful to implement a redirect to another page after submitting an item to the SharePoint 2013 list.
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.