I have created a page where I have used send an email functionality in salesforce classic which is working fine by url hacking https://na35.salesforce.com/_ui/core/email/author/EmailAuthor?p3_lkid= . Now I want to open the same link in salesforce lightning but when I click on the link it gets opened up in classic. Any help will be appreciated.

  • You should try this sforce.one.navigateToURL('/_ui/core/email/author/EmailAuthor?p2_lkid='); – Sagar Thoriya Jun 8 '17 at 14:30

Did you create a visualforce page and also put your code so that there will be more clarity.And for your link to be opened in Lightning it should either be written in a component which can be used in Lightning experience.Provide more details of your requirement.

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.