Which approach should the developer use to accomplish this declaratively?

A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?A . A Visualforce page that calculates the total number of...

September 26, 2020 No Comments READ MORE +

Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)

Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)A . Number maps to Decimal.B . Number maps to Integer.C . TextArea maps to List of type String.D . Date/Time maps to Dateline.E . Checkbox maps to Boolean.View AnswerAnswer: ADE

September 26, 2020 No Comments READ MORE +

For which three items can a trace flag be configured? (Choose three.)

For which three items can a trace flag be configured? (Choose three.)A . Apex TriggerB . Apex ClassC . Process BuilderD . UserE . VisualforceView AnswerAnswer: ABD

September 26, 2020 No Comments READ MORE +

How should a developer create a new custom exception class?

How should a developer create a new custom exception class?A . public class CustomException extends Exception{}B . CustomException ex = new (CustomException)Exception();C . public class CustomException implements Exception{}D . (Exception)CustomException ex = new Exception();View AnswerAnswer: A

September 26, 2020 No Comments READ MORE +

When is an Apex Trigger required instead of a Process Builder Process?

When is an Apex Trigger required instead of a Process Builder Process?A . When a record needs to be createdB . When multiple records related to the triggering record need to be updatedC . When a post to Chatter needs to be createdD . When an action needs to be...

September 25, 2020 No Comments READ MORE +

Which three are valid controller options for this page?

A developer is asked to create a custom Visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? (Choose three.)A . Use a standard controller.B . Use a standard controller with extensions.C . Use a custom controller with extensions.D . Do...

September 25, 2020 No Comments READ MORE +

How can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?

A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction_c field, but the Support Manager profile does. How can the developer create the page to...

September 25, 2020 No Comments READ MORE +

Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)

Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)A . <apex:stylesheet> tagB . Inline CSSC . <apex:style>tagD . <apex:stylesheets>tagE . A static resourceView AnswerAnswer: ABE

September 25, 2020 No Comments READ MORE +

What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?

A method is passed a list of generic sObjects as a parameter. What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?A . Use the first three characters of the sObject ID to determine the sObject type.B . Use the...

September 25, 2020 No Comments READ MORE +

Which approach should a developer use to add pagination to a Visualforce page?

Which approach should a developer use to add pagination to a Visualforce page?A . A StandardControllerB . The Action attribute for a pageC . The extensions attribute for a pageD . A StandardSetControllerView AnswerAnswer: D

September 25, 2020 No Comments READ MORE +