New Email button on custom search screen

Hi

is there a way of adding the 'new email' action button to a custom search screen (run block)?

  • 0

    Yes.  You should be able to use the clientside API to create the button to call the behaviour.

    var buttonimage = '..\\Themes/img/color/buttons/newquotes.gif';
    var buttonaction = crm.url(1500);
    crm.addButton(buttonimage, 'Button', 'Email', buttonaction);

    You'll probably have to do more to form the URL correctly.

    And since you are running with RunBlock to create the screen you may also need to do some work with jquery but it should be possible.