Redirect to Display Form after submit
- Adam Reyes
- Posts: 35
- Joined: Tue Mar 04, 2014
I need to be able to have a New Form redirect to it's Display Form after it's been saved so the user can see the ID of their submission. I know how to create the ID text on the display form but I don't know how to redirect the form to the Display Form once it's submitted. How would I go about doing that?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Adam,
Please, follow the steps described in the following post:
http://spform.com/forms-designer- ... sharepoint
Just replace the Edit form URL with the Display one:
Please, follow the steps described in the following post:
http://spform.com/forms-designer- ... sharepoint
Just replace the Edit form URL with the Display one:
Code: Select all
var uri = fd.setUrlParam(
decodeURIComponent(window.location.href),
'FDRedirectWithID',
'fd_Item_Edit.aspx?ID=');
-
- Posts: 16
- Joined: Mon Nov 24, 2014
Apparently Listview threshold is not allowing this to work.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Probably, you're right. Do you use SharePoint on-premises or SharePoint Online. You can increase list view threshold in the Central Administration -> Manage Web Applications. Next, pick your application and expand General Settings dropdown on the ribbon. Click Resource Throttling and change List View Threshold field.
As for SharePoint Online in Office 365, you can create indices for Created and Created By fields in the list settings to workaround the issue.
As for SharePoint Online in Office 365, you can create indices for Created and Created By fields in the list settings to workaround the issue.
-
- Posts: 16
- Joined: Mon Nov 24, 2014
I use SharePoint on-premise, but we are forbidden to increase the listview threshold. Would indexing the Created and Created by fields work for this too.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Yes, it must work for SharePoint on-premise as well.
-
- Posts: 20
- Joined: Wed Dec 23, 2015
This method does not seem to work if the list that you are working with uses folders. Instead of redirecting you to the edit form of the newly created item it will take you to the edit form of the folder that the item is contained in. Can you please help? Thanks!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests