Skip to content

Instantly share code, notes, and snippets.

@ganmahmud
Created November 23, 2018 09:46
Show Gist options
  • Save ganmahmud/7bac7ea6f39ca2ccb77d11af41991570 to your computer and use it in GitHub Desktop.
Save ganmahmud/7bac7ea6f39ca2ccb77d11af41991570 to your computer and use it in GitHub Desktop.
Create a Visualforce page which shows a basic Contact record
<apex:page standardController="Contact">
<apex:pageBlock title="Contact Info">
<apex:pageBlockSection >
First Name: {! Contact.FirstName } <br/>
Last Name: {! Contact.LastName } <br/>
Owner Email: {! Contact.Owner.Email } <br/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment