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
srilathasrilatha 

hi i want to write a custom button for opportunity

in opportuinty i want one custom button primary conatct... if stage have prospective and i click on the primary contact button an email will send to the contact of the opportunity, otherwise one pop up will come.. if stage prospect only we can send email

 

 

thanks&regards

srilatha

BharathimohanBharathimohan

Hi srilatha,

 

 

This blog post may give you a brief idea....

 

http://salesforceforall.blogspot.in/2012/10/sending-email-alerts-via-ajax.html

 

 

 

Regards,

Bharathi
Salesforce For All

Mark this post as solved, if it helps you