TECHLOGBOOKS

Monday, 23 April 2018

How to create Visual force pages in Salesforce ?

There are many ways you can create Visualforce pages, below are the commonly used ones.

1. One of them is go to Develop > Pages

2. If your Development mode is on Personal Information setting then, you can create page by   
   entering http://ap.salesforce.com/apex/newvfpage. You will get an error saying this page doesn't         exist along with a link to create one with the same name.
   Click on that link and then Start entering the apex code of the VF page enclosed with <apex:page> </apex:page>. You can use standard or custom controller

   1. Standard is for example Account, Contacts, etc...
   2. Custom is a apex class with customized functionality

No comments:

Post a Comment