web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Confirmation prompt on email sent button click

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Aileen Gusni Profile Picture
    44,524 on at

    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.

  • Community Member Profile Picture
    on at

    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

  • Aileen Gusni Profile Picture
    44,524 on at

    Sneha,

    I suggest you to copy the button to new one, hide the existing.

    Then place the new command before the original action.

  • Community Member Profile Picture
    on at

    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.

  • Aileen Gusni Profile Picture
    44,524 on at

    Sneha,

    Go inspect the existing ribbon..

    You will get the command.

    You are using ribbonworkbench right?

  • Community Member Profile Picture
    on at

    Hi Aileen,

    Yes I  am using ribbon workbench.

  • Community Member Profile Picture
    on at

  • Community Member Profile Picture
    on at

    Hi Aileen,

    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;

             },

             function(){

                event.returnValue = false;

                return false;

             }

           );

    }

  • Aileen Gusni Profile Picture
    44,524 on at

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans