Redirect on internal list after related item deletion

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
User avatar
Alexey Babin
Posts: 23
Joined: Wed May 11, 2016
Contact:

17 Aug 2016

Hi, Dmitry,

I reprodused the issue and can give more detailed info when problem take place. Everything is actual wnen I do not have "Title" field, containing "..." for edit/open and so on. I have only small icon for edit - it called "Изменить - (ссылка на изменение элемента)" in view design page. When I add to view field "Title" with link to related item, the behaviour of forms is such as it is supposed to be. So the problem is right there - in the icon link.


According to another ptoblem, the case is I need to add new child item(s) from parent's edit form. So when I do everything as you described in both posts about NEW and EDIT form - the confusion is in the JavaScript for New form of children - find it below:


$('#_fd_parent_temp > input').val(window.top.fd._tempParentId()); //This part for create new item from NEW parent


//this code for create new child for existing item via EDIT form.

var parentID = fd.getSourceID();

if (parentID) {

fd.field('ParentId').control().value(parentID);

}


And when new children is created for existing parent from EDIT form, exact this item appears in the related-list for new parent.

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

17 Aug 2016

Thanks, Alex. We've fixed the issue. If you're using sp on-premises, download the latest version from our website. If it's sp online, just clear the browser cache.

User avatar
Alexey Babin
Posts: 23
Joined: Wed May 11, 2016
Contact:

18 Aug 2016

Hi, Dmitry. It's a great news, and now item deletion works well. Thank you!

According second problem I'll create another tread.

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

14 Feb 2017

This is my the same as one of my issues. I am also on 3.0.8. I will update mine as well and test it. Thank you.

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

23 Feb 2017

Hi. I have applied the update and it redirects to the parent form but if there were any changes made prior to the deletion of a related list item any changes are ignored.

Any suggestions?

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

27 Feb 2017

Unfortunately, for now the only way is using the quick-edit mode that does not cause refreshing a page after deleting.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests