What should a developer do to meet this requirement?

When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items. What should a developer do to meet this requirement?A . Create a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items.B ....

October 29, 2021 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: A,D,E

October 29, 2021 No Comments READ MORE +

What is a benefit of the lightning component framework?

What is a benefit of the lightning component framework?A . Better integration with Force.com sitesB . Better performance for custom Salesforce1 Mobile AppsC . More Centralized control via server-side logicD . More pre-built components to replicate the salesforce look and feelView AnswerAnswer: D

October 29, 2021 No Comments READ MORE +

Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)

Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)A . NamespaceB . TimeC . ExceptionD . Debug StatementView AnswerAnswer: A, B

October 29, 2021 No Comments READ MORE +

What are two uses for External IDs? (Choose two.)

What are two uses for External IDs? (Choose two.)A . To create relationships between records imported from an external system.B . To create a record in a development environment with the same Salesforce ID as in another environmentC . To identify the sObject type in SalesforceD . To prevent an...

October 29, 2021 No Comments READ MORE +

Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?

Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?A . Build a OpportunityLineItem trigger that adds a PriceBookEntry record.B . Build an OpportunityLineItem trigger to add an OpportunityLineItem record.C . Build an Opportunity trigger...

October 28, 2021 No Comments READ MORE +

Which code block will run successfully in an execute anonymous window?

A developer has the controller class below. Which code block will run successfully in an execute anonymous window?A . myFooController m = new myFooController();System.assert(m.prop !=null);B . myFooController m = new myFooController();System.assert(m.prop ==0);C . myFooController m = new myFooController();System.assert(m.prop ==null);D . myFooController m = new myFooController();System.assert(m.prop ==1);View AnswerAnswer: C

October 28, 2021 No Comments READ MORE +

What should the developer do to deploy to production?

A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?A . Create a test class that provides coverage of the Visualforce page.B . Create a test page...

October 28, 2021 No Comments READ MORE +

What can the developer do to ensure that the private methods can be accessed by the test class?

A developer creates an Apex class that includes private methods. What can the developer do to ensure that the private methods can be accessed by the test class?A . Add the TestVisible attribute to the Apex classB . Add the SeeAllData attribute to the test methods.C . Add the TestVisible...

October 28, 2021 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: A,B,E

October 28, 2021 No Comments READ MORE +