Is there a way to open VF page in lightning experience using URL link?. I know we can use sforce.one.navigateToURL but in our case it would not work because The URL link is outside the salesforce.
- We are sending an vf page link in the email some thing like Click Here
<a href="https://na16.visual.force.com/apex/myTask"> Click Here</a>. this is working fine with classic but we are facing the issue if user is in lightning experience.
- If user is in lightning experience then this URL link is not working as expected. It's open the VF page but without one.app container.
I have attached the screen short of both classic and lightning experience output.
If user is in classic then URL Link open below screen
If user is in lightning experience then URL Link open below screen
Expected output in lightning experience
Is there any way to get expected output?