Salesforce Customer Success Platform can help your business grow into a more streamlined, effective and efficient organization across sales, service, marketing and more.Salesforce is also (PAAS) platform as service.
In salesforce first thing your have to do is just register yourself and login.
you can login from https://login.salesforce.com/?locale=in
you will see this type of page
On the right hand you can see sales app. this is salesforce App.
you can see many menus like Campaigns Leads Accounts Contacts Opportunities Forecasts Contracts Orders Cases etc.
Given below is visualforce page code.
<apex:page standardController="Account">
<apex:pageBlock>
<apex:pageBlockSection>
<apex:form>
<apex:pageBlockTable value="{!Account.Contacts}" var="cnt">
<apex:column><apex:commandLink value="{!cnt.name}" action="{!edit}" />
</apex:column>
<apex:column value="{!cnt.email}" />
<apex:column value="{!cnt.phone}" />
</apex:pageBlockTable>
</apex:form>
<apex:repeat value="{!Account.Contacts}" var="cnt">
<tr>
<td>{!cnt.email}</td>
<td>{!cnt.name}</td>
<td>{!cnt.phone}</td>
</tr>
</apex:repeat>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Now what do you know about visualforce : it’s a markup language used in salesforce.com
basically everythings works on MVC model view and control
1. in force.com or sfdc we have Model in which We use sObject (Salesforce object) like account ,case , lead etc above menus.
2. For View (Front end) we have Layout(Page, Field etc) AND we use Visualforce language for this purpose,
Although in salesforce a lot can be done by declaration, mouse click and drag drop.
3. Controller is the main part where a programmer write the logic and business code.
it is of 3 types Standard controller, Custom controller,controller extension
you can create your first visualforce like this
after that you can choose new or developer console.
in developer console click New visualforce page
you will see
here apex is namespace and page is tag (namespace is way to group different things)
it's first code
If we want to use expression then
synatx will be like{!----}
if we will access global variable then we use $
e.g {! $user.firstname}
Expression {!--} can conatin 3 things
static expression like {!2*2}
global variable {! $user.firstname}
properties of sObject made available through controller
e.g. today --> {!Today()}
tomorrow --> {!Day(Today()+1)}
Square root --> {!SQRT(49)}
Max ---> {Max(1,8,2,6)}
find---> {!Contains('Saifi','fi')}
Congratulations
This is your new Page Welcome {!$user.firstname} {!$user.lastname},
you know today is{! YEAR(TODAY())}
hi ok no
{!max(1,2,3,4,5,6)}
{! sqrt(111)} {!contains(‘saleforce.com’,’com’)}
the preview
will continue..
Video tutorial related to it
All rights reserved. No part of this Post may be copied, distributed, or transmitted in any form or by any means, without the prior written permission of the website admin, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. For permission requests, write to the owner, addressed “Attention: Permissions Coordinator,” to the admin @coderinme