Visualforce Guide: Visualforce tutorial for beginners

Visual Force is a framework which allows salesforce developers to build  custom user interfaces which can be hosted on the Force.com platform.  The visualforce framework consist of tags similar to HTML.

In visualforce language, each tag corresponds to a fine-grained user interface component like section of a page, or a field or a related list .
The behavior of Visual force components can either be controlled by the same logic which is used in standard Salesforce pages or it can also be controlled by developers who can associate their own logic using a controller class written in Apex.

Some Importants points regarding visualforce:

  • We can write HTML, CSS, and Javascript inside a visualforce page.
  • A visualforce page consist of tags/components and controllers.
  • Every visualforce tag has attributes and attributes define the properties of the tag.
    By defualt, every visualforce tag has two attributes.
    1) ID: this attributes binds the two components together.
    2) Rerendered: This attribute is used to show/hide a component.

 

When and where to use Visualforce?

  • Visualforce pages can be used to override standard buttons for e.g.: we can create new buttons for accounts, override save button in contacts.
  • We can embed components in detail page layout using Visualforce.
  • Visualforce gives the flexibility to add dashboard components on custom help pages.
  • You can use Visualforce to build wizards and other multi step process.
  • Use Visualforce to create your own custom flow control through an application.

This Post Has 11 Comments

  1. berkey

    I get pleasure from, cause I discovered exactly what I used to be looking for. You’ve ended my four day lengthy hunt! God Bless you man. Have a nice day. Bye|

  2. Elba Sprandel

    An impressive share, I merely with all this onto a colleague who was performing a little analysis on this. And hubby in fact bought me breakfast since I came across it for him.. smile. So well then, i’ll reword that: Thnx to the treat! But yeah Thnkx for spending time to debate this, I believe strongly about this and love reading more on this topic. If you can, as you grow expertise, might you mind updating your website with increased details? It truly is extremely useful for me. Large thumb up for this blog post!

  3. Thea Alesi

    This is a appropriate blog for everyone who hopes to learn about this topic. You already know a lot its practically challenging to argue with you (not that I just would want…HaHa). You definitely put a whole new spin with a topic thats been revealed for some time. Fantastic stuff, just excellent!

  4. It arduous to search out educated people on this topic, but you sound like you realize what you are talking about! Thanks

  5. Sol Tacker

    Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon.

  6. Arnoldo Stassi

    my sister loves the tv series Ghost Whisperer but i do find it a bit distracting sometimes;;

  7. the feed

    It’s actually very difficult in this active life to listen news on TV, thus I only use internet for that purpose, and get the latest information.|

  8. thefeed

    It’s going to be end of mine day, except before finish I am reading this fantastic article to increase my knowledge.|

  9. thefeed

    This design is incredible! You certainly know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!|

  10. frolep rotrem

    You are my intake, I possess few blogs and infrequently run out from post :). “To die for a religion is easier than to live it absolutely.” by Jorge Luis Borges.

  11. Hello, i believe that i noticed you visited my site thus i got here to return the desire?.I am attempting to to find things to improve my website!I assume its ok to make use of some of your ideas!!|

Leave a Reply