How To Create Visualforce Page | Techila
single,single-post,postid-1035,single-format-standard,ajax_updown_fade,page_not_loaded,,qode_grid_1300,footer_responsive_adv,hide_top_bar_on_mobile_header,qode-content-sidebar-responsive,qode-theme-ver-9.4.2,bridge,wpb-js-composer js-comp-ver-4.12,vc_responsive

How To Create Visualforce Page


How To Create Visualforce Page




For example, if you want to create a page called “HelloWorld” and your Salesforce organization uses, enter

Because the page does not yet exist, you are directed to an intermediary page from which you can create your new page.

Click Create Page <myNewPageName> to create it automatically.

Creating A Visualforce Page

You now have a Visualforce page that includes default text. To edit your new page, click the Page Editor bar that appears at the bottom of the browser. It expands to show you the following Visualforce markup:


<!– Begin Default Content REMOVE THIS –>


This is your new Apex Page: HelloWorld

<!– End Default Content REMOVE THIS –>


This default markup includes the only required tag for any page— the <apex:page> tag that begins and ends any page markup. Embedded within the start and close <apex:page> tags is plain text, some of which is formatted with a standard HTML tag, <h1>.

As long as you keep the required <apex:page> tag you can add as much plain text or valid HTML to this page as you want. For example, after entering the following code and clicking Save in the Page Editor, the page displays the text “Hello World!” in bold:


<b>Hello World!</b>




“Know more about Salesforce Consulting at Techila”

Author: techila

No Comments

Post A Comment