• Neha Mishra 51
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

We are upgrading our salesforce development to make it compatible with lightning. 

In a few cases, we just need to open a visual force page on click of a button. We implemented this via script "window.open = {url}" using "on click of javascript" option. 

Is it mandatory to use aura components to open up the page? Or directly opening up a new visual force page on click of a button will be good?

I understand both will work, but what is the best way to handle this?