What is the requirement? A Developer wants to override a button using - ProProfs Discuss
Topics
Products
Follow Us:

What is the requirement? A Developer wants to override a button using visualforce on an object.



A. The object record must be instantiated in a controller or extension
B. The standardController attribute must be set to the object
C. The controller or extension must have a PagerReference Method
D. The Action attribute must be set to a controller method

This question is part of Platform Dev I
Asked by Csouza, Last updated: Aug 11, 2020

+ Answer
Request

2 Answers

Barry Mclean

Ask me anything!

Barry Mclean, Sales Manager, MBA, Ewa

Answered Feb 26, 2019

The correct answer to this question is B. When a developer wants to override a button using visualforce on an object, the standardController attribute must be set to the object. In general, a controller is an Apex class which developers use to implement many of the positive features of visualforce, such as its logic.

Standard controllers are often used in coding to provide guidelines for standard functions like delete, save, and create records. Note that if the developer overrides a button there are many other considerations to be considered as to how that override will affect the rest of the system.

 

csouza

Csouza

Answered Aug 08, 2018

The standardController attribute must be set to the object
 

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.