Here we will discuss how to redirect to a different page after the user submits an item to a SharePoint 2013 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.
Get SharePoint Online (Office 365 Enterprise E3) Subscription for your Business NOW
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 dialogboto x give one Title and in the URL put the URL which we have prepared in the Step-2 which will looks like below:
After this you will be able to see the link in the left navigation like below:
Read some more SharePoint customization tutorials below:
- How to disable mobile page redirection for SharePoint 2013?
- Redirect User to Success or Error page in SharePoint
- Redirect user based on browser language in SharePoint 2010
- SharePoint 2019 Download + FREE PDF on SharePoint 2019 Installation Steps Download & New Features
Now when user click the this navigation link then it will be redirected to the Add New Item page. There whenever user submit an item, he will be redirected to the page you have mentioned in the Source parameter. Hope this will be helpful to implement redirect to another page after submitting item to SharePoint 2013 list.