How To Access The DELETE ICON inside an Embeded List Present on a Form

Sai kumar123
Tera Expert

Saikumar123_0-1743187857318.png

We can See the Delete/Cross Icon on the Embeded List, I Want to implement an Auto Save , Example: when User Clicks on the Icon, and he refreshes the Page, The Record Should be deleted. In general after Clicking Icon , User Needs to Save The Form by clicking Form Button for the Record to get Deleted.
My Question is , is there any way we can access the Functions or Logic behind that Delete Icon and Write our own logic to define what should happen on click of it.

2 REPLIES 2

Robert H
Mega Sage

Hello @Sai kumar123 ,

 

I don't believe this is possible, and even if it were I would not recommend it because an accidental click on that 'X' would delete the data without a safety prompt.

Try using a Related List for these records instead: selecting rows and then using "Delete" in the "Actions on selected rows" bar will show a confirmation prompt and then delete the records.

 

Regards,

Robert

Shivalika
Mega Sage

Hello @Sai kumar123 

 

These embedded list are nothing but related list in middle of the form. You can try checking by adding it in the related list in the same time as this and it won't come. 

 

So, when you configure it as related list, you can select it and delete it from "Action on selected rows". 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY