Page 1 of 1

Related listissue on edit and delete

Posted: 09 Feb 2017
by Sonoma
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.

Re: Related listissue on edit and delete

Posted: 10 Feb 2017
by Dmitry Kozlov
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?

Re: Related listissue on edit and delete

Posted: 10 Feb 2017
by Sonoma
Through a dialog window via the EDIT button.

Re: Related listissue on edit and delete

Posted: 10 Feb 2017
by Sonoma
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.

Re: Related listissue on edit and delete

Posted: 13 Feb 2017
by Dmitry Kozlov
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.

Re: Related listissue on edit and delete

Posted: 13 Feb 2017
by Sonoma
Thank you. I will let them know to only open for edit and to delete from the main page.