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
Shivani KalsiShivani Kalsi 

i have created visualforce page on eclipse neon using force.com project so how to run this file?

Best Answer chosen by Shivani Kalsi
Suraj TripathiSuraj Tripathi
Hi Shivani,

We can run Visualforce Page in Eclipse by using the following steps:

--> Create a Visualforce page from  Project--> Src --> Pages--> New Page
--> Write your code for Visualforce and Save

--> Suppose you have a page with name "AccountDetail.page" and run this from eclipse in this way:

User-added image


--> Right click on your VF page--->Force.com-->shown in Salesforce web

User-added image


--> Now this page will be open in your salesforce instance, from here you can click on Preview button
and you can see your Output for your Visualforce Page

User-added image



I hope this will be helpful for you, if it helps you to run your page, Please Mark this answer best.

Regards
Suraj

 

All Answers

Suraj TripathiSuraj Tripathi
Hi Shivani,

We can run Visualforce Page in Eclipse by using the following steps:

--> Create a Visualforce page from  Project--> Src --> Pages--> New Page
--> Write your code for Visualforce and Save

--> Suppose you have a page with name "AccountDetail.page" and run this from eclipse in this way:

User-added image


--> Right click on your VF page--->Force.com-->shown in Salesforce web

User-added image


--> Now this page will be open in your salesforce instance, from here you can click on Preview button
and you can see your Output for your Visualforce Page

User-added image



I hope this will be helpful for you, if it helps you to run your page, Please Mark this answer best.

Regards
Suraj

 
This was selected as the best answer
Shivani KalsiShivani Kalsi
Thank you so much.