Notifications
Announcements
No record found.
Is it possible to give confirmation prompt on sent button of email.
System should ask 'Would you like to send email' when user clicks on send button.
*This post is locked for comments
Sneha,
For this, you need to customize the ribbon.
better copy this one and create new one then using the Ribbon Workbench.
ribbonworkbench.uservoice.com/.../80806-download-ribbon-workbench-for-crm-2011-2013-2015
Hope this helps.
Thanks.
I Have create one solution with email entity and Js file.
Then in ribbon workbench added function of Js file by adding new command on send button.
But when I click on send button then its directly sending mail without calling that function
I suggest you to copy the button to new one, hide the existing.
Then place the new command before the original action.
Aileen,
I will try this,but where do I get existing command.
Rightnow that button is showing only one command that is added by me.
Go inspect the existing ribbon..
You will get the command.
You are using ribbonworkbench right?
Hi Aileen,
Yes I am using ribbon workbench.
Now I have edited existing command of send button by adding one more action to call
js function for confirm message,its giving me confirmation box,when I click Ok it sending mail but if I first click Cancel and again click yes to send mail then it thows error.
I have used this code for confirmation box-
function onSendButtonClick()
{
debugger;
Xrm.Utility.confirmDialog("Would you like to send email",
function(){
//event.returnValue = true;
return true;
},
event.returnValue = false;
return false;
}
);
Have you tried this:
stackoverflow.com/.../javascript-confirmation-on-crm-2011-ribbon-system-button
And this is the concept you can use:
lakshmanindian.wordpress.com/.../jscript-validation-for-activatedeactivate-record-in-microsoft-dynamics-crm-2011
Than you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2