Activity Forums Salesforce® Discussions What are the reasons where we choose VF page over Salesforce lightning?

  • What are the reasons where we choose VF page over Salesforce lightning?

    Posted by Udit on July 24, 2020 at 10:24 am

    What are the reasons where we choose VF page over Salesforce lightning?

    Pooja replied 4 years, 1 month ago 5 Members · 4 Replies
  • 4 Replies
  • Marziya

    Member
    July 24, 2020 at 1:59 pm

    This means you'll need to navigate to the page in Lightning Experience, and there are a variety of ways to do that. The simplest way to get to a specific Visualforce page is to create a tab for it, and then navigate to that tab via the All Items section in the App Launcher.

  • Anuj

    Member
    July 24, 2020 at 2:51 pm

    Salesforce recommends that, wherever possible, you create Visualforce pages that behave correctly whether they run in Salesforce Classic or Lightning Experience. The benefits in terms of reduced complexity in your organization's code and configuration are obvious.

  • Ashish

    Member
    July 25, 2020 at 5:38 am

    If you have a bunch of business logic currently sitting in Apex classes on the server, then you probably want to favor Visualforce. If you were to use Lightning Components you’d either have tore-implement in JavaScript or go back to the server every time the user did anything, which rather misses the point of a client side framework.If you’ve already built a number of re-usable set of Lightning Components that will satisfy many of the customer’s requirements, it makes perfect sense to build these out to satisfy the rest of them. Re-implementing in another technology rarely makes sense, the best case is that you are on another “platform” and the users don’t notice any difference, the worst case is that you break loads of stuff that nobody asked you to change. We have ways to make VF page look like LIghtning component but it will still lack the client side logic and it may hamper the performance going further with complex implementation.
    On the other hand if you are good in Javascript, you can achieve anything that is there in Visualforce.

  • Pooja

    Member
    July 26, 2020 at 4:46 pm

    Salesforce recommends that, wherever possible, you create Visualforce pages that behave correctly whether they run in Salesforce Classic or Lightning Experience. The benefits in terms of reduced complexity in your organization's code and configuration are obvious.

Log In to reply.

Popular Salesforce Blogs