Advertisement
Learnify_Rectify

Use Standard Controllers

Jun 27th, 2024
2,107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | Source Code | 0 0
  1. Use Standard Controllers from (module - Visualforce Basics)
  2.  
  3. -------------------------------------------------
  4. SOURCE CODE: ContactView (Visualforce page)
  5.  
  6. <apex:page standardController="Contact">
  7. <apex:pageBlock title="Contact Summary">
  8. <apex:pageBlockSection>
  9. First Name: {! Contact.FirstName } <br/>
  10. Last Name: {! Contact.LastName } <br/>
  11. Owner Email: {! Contact.Owner.Email } <br/>
  12. </apex:pageBlockSection>
  13. </apex:pageBlock>
  14. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement