re-direct after deleteing

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
jpwallace
Posts: 47
Joined: Fri Mar 03, 2017

30 Jan 2017

I have Show Toolbar selected from General Settings, thus showing Attachements and delete at the top of my form. On deleteing an item it it auto re-directs me to the main list, not the custom view i put on, is there a way to re-direct to any URL after deleteing an item?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

31 Jan 2017

I have tested the case and it works as you described: after deleting an items, a user is redirected to the previous page (if the form is opened in the main window). You can check the Source query-parameter, it contains URL where a user is redirected after submission, closing, or deleting a form.

jpwallace
Posts: 47
Joined: Fri Mar 03, 2017

31 Jan 2017

Thanks for you reply Dmitry, could you point me in the right direction on where to find and amend the source query-parameter in order to navigate to another page upon delteing an item.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

31 Jan 2017

Hi,

You can change this parameter via JavaScript:

Code: Select all

fd.sourceFormParam('/page.aspx');

jpwallace
Posts: 47
Joined: Fri Mar 03, 2017

01 Feb 2017

do i just need to put fd.sourceFormParam('/page.aspx'); and repalce ('/page.aspx') with my full URL?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

02 Feb 2017

Yes, but the URL must be server-relative (starts with '/').

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests