Dannymh
Active member
Hi,
I am writing a quick system for some internal usage whilst we migrate to XF2. As part of this I need the ability at the top level to delete a record, and then have all of the subsequent records deleted. The structure looks something like this
I was hoping of doing this with the X or the Delete button on a list page in Admin and tying it to the _deleteData(). At the moment doing so deletes the Department and I just need it to pass on and delete from the other areas. Should I just do this with PostDelete in the datawriter, or does the deleteData function allow me to add additional DW's to delete from?
Thanks in advance
Dan
I am writing a quick system for some internal usage whilst we migrate to XF2. As part of this I need the ability at the top level to delete a record, and then have all of the subsequent records deleted. The structure looks something like this
- - Department
- Staff in Department
- Equipment assigned to staff
- Staff in Department
I was hoping of doing this with the X or the Delete button on a list page in Admin and tying it to the _deleteData(). At the moment doing so deletes the Department and I just need it to pass on and delete from the other areas. Should I just do this with PostDelete in the datawriter, or does the deleteData function allow me to add additional DW's to delete from?
Thanks in advance
Dan