Which should the developer use to Implement the business requirement in order to minimize maintenance overhead?

A developer created these three Rollup Summary fields in the custom object, Project_ct, The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project. Which should the developer use to Implement the business requirement in order to minimize maintenance...

April 1, 2023 No Comments READ MORE +

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?A . ernit() B. fireEvent() C. fire() D. registerEvent()View AnswerAnswer: C

March 31, 2023 No Comments READ MORE +

Which SOQL query will get the record for the Viridian City gym and it's trainers?

A custom object Trainer_c has a lookup field to another custom object Gym___c. Which SOQL query will get the record for the Viridian City gym and it's trainers?A . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym' B. SELECT Id, (SELECT Id FROM Trainer_c)...

March 31, 2023 No Comments READ MORE +

How can the developer find the current user's default record type?

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } | Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's...

March 31, 2023 No Comments READ MORE +

Which three features satisfy this use case?

A developer wants to invoke on outbound message when a record meets a specific criteria. Which three features satisfy this use case? Choose 3 answerA . Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code B. Process builder can be used...

March 31, 2023 No Comments READ MORE +

What should a developer change about the Visualforce page to help with the page load errors?

Universal Containers has a Visualforce page that displays a table of every Container_c. being ……. Is falling with a view state limit because some of the customers rent over 10,000 containers. What should a developer change about the Visualforce page to help with the page load errors?A . Use Lazy...

March 31, 2023 No Comments READ MORE +

Which three statements are useful inside the unit test to effectively test the custom controller?

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL. Which three statements are useful inside the unit test to...

March 30, 2023 No Comments READ MORE +

What to do now?

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data. What to do now?A . The method must be decorated with (cacheable=true). B. The method must be decorated with @AuraEnabled. C. The method must return a JSON...

March 30, 2023 No Comments READ MORE +

Which two things should the developer do to make the component available?

A developer created a Lightning web component called statusComponent to be inserted into the Account record page. Which two things should the developer do to make the component available?A . Add <isExposed> true</isExposed> to the statusComponent.js-meta ml file. B. Add <target> lighting _RecordPage </target> to the statusComponent.js-meta ml file. C....

March 29, 2023 No Comments READ MORE +

What are two use cases for executing Anonymous Apex code? Choose 2 answers

What are two use cases for executing Anonymous Apex code? Choose 2 answersA . To delete 15,000 inactive Accounts In a single transaction after a deployment B. To schedule an Apex class to run periodically C. To run a batch Apex class to update all Contacts D. To add unit...

March 29, 2023 No Comments READ MORE +