locked
Refresh a dispform on source query string? RRS feed

  • Question

  • Hi Guys

    I have a child list which is accessed through a customised link on the parent list dispform. This link takes user to the newform of the child list, and on completion of the item, redirects the user back to the associated parent list dispform.

    However, as the creation of the item in the child list triggers workflows which affect the parent, i would like to requery the parent list dispform on return via the source= parameter, which it isn't doing at the moment, only displaying the last time it was queried.

    i.e.:

    https://../StudyTrackerActivityLog/NewForm.aspx?StudyTrackerID=8642&Source=https://../StudyTracker/DispForm.aspx?ID=8642

    any ideas on how i can requery the parent list?

    best wishes

    Dave

    Monday, May 13, 2013 1:34 PM

All replies

  • Hi Dave,

    I understant that on creation of the item in the child list you want to navigate back to the parent list through source parameter in URL BUT this paramter gets changes untill you return back due to some other workflow that runs in the background.

    How about delaying this workflow and make it to run when you are sure you have reached to the parent list.

    Try adding a action in your workflow that runs on the parent list - 'Pause for a duration" and pause for few seconds may be 10 seconds should be enough.

    This way you will return to your parent list before workflow runs.

    Hope this helps.

    --------

    Regards

    Ankur

    Tuesday, May 14, 2013 7:49 AM