function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
aklkkaklkk 

how to Delete record by JavaScript on Cancel Custom Button

Hi All 

how to Delete record by JavaScript on  Cancel Custom Button ??

Please help me 

Thanks 
aklkk
Khan AnasKhan Anas (Salesforce Developers) 

Hi,

Greetings to you!

Please refer to the below link which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/79201/delete-record-created-by-javascript-on-cancel

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas

Deepali KulshresthaDeepali Kulshrestha
Hi,

Please refer to these links below it might be helpful for you.

https://success.salesforce.com/answers?id=9063A000000l6FLQAY
https://help.salesforce.com/articleView?id=links_useful_custom_buttons_mass_delete.htm&type=0

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha