0

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}');
1

Javascript buttons are not supported in lightning because of security concerns.

Salesforce has this blog which provides some alternatives to Javascript buttons in lightning world. This Trailhead module would help as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.