Redirect to Display Form after submit

rss

Posted by Adam Reyes - Oct 21 ’14 at 08:38

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
    Dmitry Kozlov
    Admin
    Member for: 5 years 8 months 29 days
    #1 by Dmitry Kozlov Oct 22 ’14 at 03:01

    Hi Adam,

    Please, follow the steps described in the following post:

    http://formsdesigner.blogspot.com/2013/10/how-to-open-edit-form-right-after.html

    Just replace the Edit form URL with the Display one:

    var uri = fd.setUrlParam(
        decodeURIComponent(window.location.href), 
        'FDRedirectWithID', 
        'fd_Item_Edit.aspx?ID=');
    
  • SpongeBen SquareJaw
    Member
    Member for: 4 years 7 months 30 days
    #2 by SpongeBen SquareJaw Jan 7 ’15 at 03:21

    [#1]: This doesn't work.

  • SpongeBen SquareJaw
    Member
    Member for: 4 years 7 months 30 days
    #3 by SpongeBen SquareJaw Jan 7 ’15 at 03:30

    [#1]: Apparently Listview threshold is not allowing this to work.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 8 months 29 days
    #4 by Dmitry Kozlov Jan 8 ’15 at 05:11

    [#3]: 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.

  • SpongeBen SquareJaw
    Member
    Member for: 4 years 7 months 30 days
    #5 by SpongeBen SquareJaw Jan 8 ’15 at 09:10

    [#4]: 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
    Dmitry Kozlov
    Admin
    Member for: 5 years 8 months 29 days
    #6 by Dmitry Kozlov Jan 9 ’15 at 04:39

    [#5]: Yes, it must work for SharePoint on-premise as well.

  • charles267
    Member
    Member for: 3 years 5 months 26 days
    #7 by charles267 Feb 15 ’16 at 05:33

    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!

  • rostislav
    rostislav
    Moderator
    Member for: 4 years 1 month 13 days
    #8 by rostislav Feb 16 ’16 at 12:22

    [#7]:

    We've fixed this bug, please update Forms Designer.

Displaying 1 to 8 of 8 messages