function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prasad p 18prasad p 18 

when do you use visual force page?

Madhukar_HeptarcMadhukar_Heptarc
Dear Prasad,

Whenever you want to change the Salesforce user interface you can use visalforce Page to Override. When you override the Standard button that will perform As you mentioned in the Visual force pages.

You can also display all types of messages like. i.e.Custom messages/error Messges/Alert messages on Record creation. 

Here are the reference Link :
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_intro_when_use_pages.htm

Thanks & Regards
Madhukar_Heptarc
Ajay K DubediAjay K Dubedi
Hi prasad,

Visualforce Page:

The Salesforce prebuilt applications provide powerful CRM functionality. In addition, Salesforce
provides the ability to customize the prebuilt applications to fit your organization. However, your
organization may have complex business processes that are unsupported by the existing functionality.
In this case, Lightning Platform provides various ways for advanced administrators and developers
to build custom functionality. These include Visualforce, Apex, and the SOAP API.

When you should use VF Page:-

- If you are rendering pages as PDF in your application use Visualforce.Lightning components don’t
  support rendering as PDF output yet.
- If you are building a page-centric experience with limited Client-Side logic then you should use Visualforce.
- If you are committed to Javascript Framework such as AngularJS or React then you should use Visualforce.

you can go with the links for more datail-
 https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_intro_when_use_pages.htm
 https://trailhead.salesforce.com/en/content/learn/modules/visualforce_fundamentals/visualforce_creating_pages

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi