Related listissue on edit and delete

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

09 Feb 2017

Hi. I have run into a problem with the related issues.

When a user goes into a form and edits the data then goes to delete a record in the related list it redirects to the related list after delete and all changes are disregarded/lost.

Any wya to avoid this from happening?

Current version is 3.0.8.

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

10 Feb 2017

Hi,

How does a user delete a related item: via the context menu or the form? What's the configuration of the related item: client-side or server-side rendering?

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

10 Feb 2017

Through a dialog window via the EDIT button.

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

10 Feb 2017

Quick correction. Maybe more detail. It does not redirect if i edit the record via the edit button.

Only if I delete it.

The steps:
From main(parent) i click the Edit button from view/list for the record I wish to remove.

The dialog opens.

I click delete record.

When it sends the submission for delete it closes dialog and redirects to the related list linked to the related-list. This is not the behavior if I just edit a record.

When it redirects after the delete is sent any parent form changes are lost. This does not happen if the record is edited. Also if I Edit or Delete from the parent page which does not open the dialog window all changes on the parent page are retained.



I have the related list set to optional to allow inline edit as well as adding and inserting a record in the dialog window. I need the popup dialod so I can create the form as it looks in its original form. Side by side and special labels and such. The inline edit does not allow for this.





Thanks.

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

13 Feb 2017

Do you open the parent form in a dialog too? If so, unfortunately, you cannot keep the dialog open after deleting a child record. I recommend you you to open a parent form in the main window.

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

13 Feb 2017

Thank you. I will let them know to only open for edit and to delete from the main page.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests