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

JavaScript OnClick Custom Button in Console

All -

I am trying to create a custom button for the Sales console. This button is calling a specific E-Mail Template and prepopulating data.

I know how to leverage the JavaScript for Custom Buttons that bring up web pages or links for the Salesforce Console, but when I try to combine that functionality with the JavaScript to auto select a template for e-mail I get the following error:

Unexpected token ILLEGAL

Here is my code......what am I missing here?