You need to sign in to do that
Don't have an account?
Stephanie Boggs 17
JavaScript Button to Lightning Component?
Hello,
This is currently an OnClick JS button that I have. Can this be converted into a Lightning Component?
location.replace('/email/author/emailauthor.jsp?retURL=/{!Demo__c.Id}&template_id=00XF0000001UAxV&p3_lkid={!Demo__c.Id}&p24={!Demo__c.BR_Email__c}');
This is currently an OnClick JS button that I have. Can this be converted into a Lightning Component?
location.replace('/email/author/emailauthor.jsp?retURL=/{!Demo__c.Id}&template_id=00XF0000001UAxV&p3_lkid={!Demo__c.Id}&p24={!Demo__c.BR_Email__c}');
IMPORTANT: Templates created via the Setup menu in Salesforce Classic are not currently available in the New Lightning Experience. This also applies for Email Templates created in the Lightning Experience: they are not available in Salesforce Classic.
Here's the knowledge article: https://help.salesforce.com/articleView?id=000230915&language=en_US&type=1
- I would like to use predefined field values, but it is not allowing me to reference any objects to pre-define the "To"
- It also does not seem to let me pre-define the email template - unsure how to formulate that.
When attempting to use a quick action on the object:The goal is to, in one click, send an email to specific users identified in existing User lookup fields on the record. This currently works in Classic using a JavaScript OnClick button but is one reason why we are not fully moving to Lightning.