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
TharunKumarTharunKumar 

Custom label reference not working on onclick javascript for a button

I have a custom label with value and wanted to reference on onclick javascript for a button.

Here is the code for Onclick Javascript

window.location = '/_ui/core/email/author/EmailAuthor?p3_lkid={!Incident__c.Id}&p3={!Incident__c.Name}&p24={!Incident__c.Requester_email__c}&p6=Requesting further information regarding {!Incident__c.Name}&template_id='{!$Label.Email_Temp_ID_for_Request_Button_on_Incident_Object}''

Throwing error as Unexpected Identifier