Displaying Records using VF!

November 24, 2017

Individual Records

Display Individual Fields

<apex:pageBlock title="Leads" >

<apex:pageBlockSection title="Email Dupicates" collapsible="true" >
<apex:outputField value="{! Lead.FirstName}"/>
<apex:outputField value="{! Lead.LastName}"/>
<apex:outputField value="{! Lead.Email}"/>
<apex:outputField value="{! Lead.Company}"/>
</apex:pageBlockSection>

<apex:pageBlockSection title="Lead Details" collapsible="true" >
<apex:detail />
</apex:pageBlockSection>

Display Multiple Records

 

<apex:page title="Account Details" showHeader="false" sidebar="false" standardController="Account">

<apex:pageBlock title="Accounts">

<apex:detail relatedList="false" />

</apex:pageBlock>

<apex:pageBlock title="Contacts">
<apex:pageBlockTable value="{!Account.contacts}" var="contact">
<apex:column value="{!contact.Name}"/>
<apex:column value="{!contact.Title}"/>
<apex:column value="{!contact.Phone}"/>
</apex:pageBlockTable>
</apex:pageBlock>

</apex:page>

Beginning to use Standard Controller

<apex:page sidebar="false" showHeader="false" standardController="Lead" >

<apex:outputText value="{0, date, MMMM d',' yyyy}"><br/><br/>
<apex:param value="{!TODAY()}" />
</apex:outputText>

<h2>
<br/><br/>
Hello!! {! $User.firstName}<br/><br/>
</h2>

<h1 text-align="center">
DATA SCAN SOLUTIONS! <br/><br/>
</h1>

<apex:pageBlock title="Leads" >

<apex:pageBlockSection title="Email Dupicates" collapsible="true" >
FirstName: {! Lead.FirstName} <br/>
LastName: {! Lead.LastName}<br/>
Email: {! Lead.email}<br/>
</apex:pageBlockSection>

<apex:pageBlockSection title="FirstName, LastName & Email Duplicates" collapsible="true" >
Hello World!!
</apex:pageBlockSection>

</apex:pageBlock>
</apex:page>

Simple Date formar code @ VisualForce


My First Super Badge – Reporting & Dashboard!

November 6, 2017

Highly recommend this SuperBadge, this is more than Real Time Scenario!!

Below is one final dashBoard!

Being Salesforce Admin is just not being able to create Reports and dashboards – It is about how your organization handles Data.

Data comes into Salesforce from Various forms – List Imports, Backend API Integrations and Manual Entry.

This Super badge introduces about how data is imported into salesforce via Data Loader…

I am glad and super excited to have accomplished this dashboard.

Superbadge