New form with Related Items redirect to edit form

rss

Posted by MES5464 - Sep 24 ’13 at 11:48

The "Related Items" object works fine on an Edit or Display form, but it doesn't work on a New form since there is not ID for the parent record yet.

How can I redirect the Save button click of a New form back into the Edit form for that same parent record?

I don't want the user to have to go hunting for their new expense report to start adding expense items to it.

  • MES5464
    Member
    Member for: 6 years 3 months 14 days
    #1 by MES5464 Sep 30 ’13 at 10:01

    I am trying to figure out how to use this method to make adding child items on the New Form work. If anyone can help me please.

     

    $().SPServices.SPRedirectWithID

  • MES5464
    Member
    Member for: 6 years 3 months 14 days
    #2 by MES5464 Sep 30 ’13 at 10:04

    Here is what I have so far:

    $().SPServices.SPRedirectWithID({

    redirectUrl: "http://share.showprg.com/Lists/Expenses/fd_Item_Edit.aspx",

    qsParamName: "ID"

    });

     

    I am trying to redirect the New Form into an Edit Form, so the parent record will have an ID and the user can start adding child records right away.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 2 months 20 days
    #3 by Dmitry Kozlov Oct 2 ’13 at 07:03

    [#2]: Hello,

    Please, upgrade Forms Designer up to 2.7.11 version and follow instruction from our article:

    How to open edit form right after creation of an item in SharePoint

Displaying 1 to 3 of 3 messages