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
Eric PohlabelEric Pohlabel 

Custom Case email button wont open in a subtab in Service Console

Hello!

I have a custom button on the case object that defaults the "From" address when opening the email template/edit screen and also makes sure the email gets logged in the email related list on the case from which it originates.  The button does what it is supposed to do BUT when clicked from the service cloud console it takes over the primary tab instead of opening a subtab.  When I try to use the srcUp function, I get an error saying "Url no longer exists".  Can somebody help? 

My button is a Detail Page Button with the following:
/_ui/core/email/author/EmailAuthor?p2_lkid={!Case.ContactId}&rtype=003&p3_lkid= 
{!Case.Id}&p26=Support@theberrycompany.com&retURL=%2F{!Case.Id}

whenever I try enclosing it with srcUp - even if I use an IF statement to check if I'm in the console or not - I get the URL No lOnger Exists error.