You need to sign in to do that
Don't have an account?
Dave Scott
Custom button on Contact object
Hi all, hope you can help!
Please could someone help me create a custom button the Contact object that will send a template email to that particular contact and record the email in Activity History.
Our company has two brands and therefore two different templates, so we need to make sure the correct branded template is sent out to the contact. The brand is determined by a custom picklist field on the Contact object called 'Brand__c' and has only two values 'Brand X' and 'Brand Y'.
How can this be done?
Many thanks,
Dave
Please could someone help me create a custom button the Contact object that will send a template email to that particular contact and record the email in Activity History.
Our company has two brands and therefore two different templates, so we need to make sure the correct branded template is sent out to the contact. The brand is determined by a custom picklist field on the Contact object called 'Brand__c' and has only two values 'Brand X' and 'Brand Y'.
How can this be done?
Many thanks,
Dave
Sorry, you also need the change the id of the contact id according to your contact's id. Sorry my bad. Here is how it should be. Change the template ids accordingly and try it now.
All Answers
Hope this helps.
Hope this helps.
But then I realised Brand__x was probably a typo and corrected it to Brand__c.
After I input the id values for each of the brands template the code succesfully saved, but when I tested the button on the Contact page, i got the following error message:
Any ideas on what I can do to resolve this?
Your help is greatly appreciated,
Many thanks,
Dave
Sorry, you also need the change the id of the contact id according to your contact's id. Sorry my bad. Here is how it should be. Change the template ids accordingly and try it now.
Is there anyway to get the email to Send when the button is clicked, rather than having to take the user into the email composer to then click the Send button?
Many thanks once again, really appreciate your help on this one.
Dave
Many thanks,
Dave