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
msvrad10msvrad10 

Custom Mail Merge Button to skip Page with Generate button

I am trying to create a custom mail merge button that skils the Generate page. I started out with this URL in a sandbox environment: https://cs1.salesforce.com/mail/mmchoose.jsp?id={!Account.Id}&1={!Account.Name}&p7&p8={!Account.Mail_Merge_ID__c}&retURL=%2F{!Account.Id}

 

It works to get me to the generate page and the appropriate template is already selected as well as the task checkbox unchecked. I would like to skip this page. The users want to be able to click the button and just have the appropriate mail merge template generate. I have created a mapping so that based the state the account resides in a specific mail merge template should display using account.mail_merge_ID__c.

 

Any suggestions would be greatly appreciated.

 

Thanks in advance!