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
Devendra SawantDevendra Sawant 

Delete Button Message Box

 

Hi,

 

Whenever we click the Delete button, the “Are you sure?” message pops up. 

 

Can we able to Change the text to say “Are you sure? This record will be stored in Recycle Bin!”

 

In short can we customize this message?

 

Cheers,

Devendra S



Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

Not as far as I am aware.  This type of message is locale specific, so you would need to provide translations etc.

All Answers

bob_buzzardbob_buzzard

Assuming you are talking about standard button behaviour, I've not seen anything that would indicate you can override this.

Devendra SawantDevendra Sawant

 

Hi Bob,

 

Yes i am talking about standard delete button behaviour.

 

Is there any way to customize this? Can we able to do it using apex?

 

Cheers,

Devendra S

bob_buzzardbob_buzzard

Not as far as I am aware.  This type of message is locale specific, so you would need to provide translations etc.

This was selected as the best answer