VF Page Practice Question – Part 1

Share This Post

  1. Create a Visualforce page to display a list of Account records in a table format. Include columns for Account Name, Account Number, and Industry.
  2. Create a Visualforce page that displays the details of a custom object Course__c when given a specific Course ID. Include fields such as Name, Course Code, and Duration.
  3. Develop a Visualforce page that allows users to create a new Course__c record. Include fields for Name, Course Code, and Duration. Upon submission, redirect to the newly created record’s detail page.
  4. Create a Visualforce page that displays a filtered list of Course__c records based on a search criteria (e.g., Course Code). Include a search box to input the criteria and display matching records.
  5. Create a Visualforce page that allows users to create a new Project__c record and associate it with an existing Account record. Include fields for Project Name, Start Date, End Date, and a lookup field for Account.
  6. Create a Visualforce page that lists Event__c records with a delete button next to each record. Implement a mechanism to delete a record when the button is clicked.
  7. Create a Visualforce page that allows users to select an Opportunity record from a lookup field and display its details.
  8. Create a Visualforce page that displays a list of Contact records related to a selected Account. Include a lookup field to select the Account.
  9. Create a Visualforce page that shows a summary of Course__c records including Name, Course Code, and Duration. Include a button to export the data to a CSV file.
  10. Create a Visualforce page to create a new Invoice__c record and add related Invoice_Line_Item__c records. Display a form to input Invoice__c details and a related list to add Invoice_Line_Item__c records.
  11. Create a Visualforce page to display Opportunity records based on custom filters such as Stage and Close Date. Provide options to filter records and display the results.
  12. Create a Visualforce page that displays and allows editing of Course__c records. Include a form to edit the Name, Course_Code__c, and Duration__c fields.
  13. Create a Visualforce page that displays a summary of Student__c records with a bar chart showing the number of students per Course__c.
  14. create a Visualforce page with a parent Account record and a related list of Contact records. Allow users to add a new contact to the account from the page.
  15. Create a Visualforce page that generates a PDF report of a Account record, including its Name, Account Number, and Phone Number.
  16. Create a Visualforce page to generate a PDF report for a Course__c record, including fields like Name, Course Code, and Duration.
  17. Create a Visualforce page that generates a PDF of a Contact record with a list of related Opportunity records. The PDF should include the Contact’s details and a table of related Opportunities.
  18. Create a Visualforce page that generates a PDF report summarizing Student__c records by Course__c. The report should include a summary of the number of students enrolled per course.
  19. Create a Visualforce page that generates a PDF containing data for multiple Invoice__c records, including details and a summary section.
  20. Create a Visualforce page that generates a PDF report summarizing Invoice__c records with aggregated totals and averages.

Leave a Reply

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Discover more from SF Learners Hub

Subscribe now to keep reading and get access to the full archive.

Continue reading