How should a developer retrieve a record by using an ID that is - ProProfs Discuss
Topics
Products
Follow Us:

How should a developer retrieve a record by using an ID that is passed on the URL? On a Visualforce page with a custom controller.

This question is part of Salesforce Platform Developer 1
Asked by Cmduquer, Last updated: Jan 15, 2020

+ Answer
Request

2 Answers

philipc

Philipc

Answered Jan 04, 2019

C is the closest to correct - A would only be correct with a controller extension.

1
 

cmduquer

Cmduquer

Answered Sep 26, 2018

Use the constructor method for the controller.

####
1
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.