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...

September 26, 2024 No Comments READ MORE +

How can this be achieved?

An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship. How can this be achieved?A . Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the...

September 25, 2024 No Comments READ MORE +

What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?

Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should...

September 24, 2024 No Comments READ MORE +

Which two are best practices when it comes to component and application event handling? (Choose two.)

Which two are best practices when it comes to component and application event handling? (Choose two.)A . Reuse the event logic in a component bundle, by putting the logic in the helper.B . Use component events to communicate actions that should be handled at the application level.C . Handle low-level...

September 24, 2024 No Comments READ MORE +

Which one do you like?

Given the following Anonymous Block: Which one do you like? What should a developer consider for an environment that has over 10,000 Case records?A . The transaction will fail due to exceeding the governor limit.B . The try/catch block will handle any DML exceptions thrown.C . The transaction will succeed...

September 24, 2024 No Comments READ MORE +

What should the developer use, along with a lightning-record-edit form, so that salary__c field functions as a currency input and is only viewable and editable by users that have the correct field levelpermissions on salary__C?

A developer must create a lightning component that allows users to input contact record information to create a contact record, including a salary__c custom field. What should the developer use, along with a lightning-record-edit form, so that salary__c field functions as a currency input and is only viewable and editable...

September 24, 2024 No Comments READ MORE +

Without writing unnecessary code, which controller should be used for this purpose?

A developer Is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded In a Lightning page. Without writing unnecessary code, which controller should be used for this purpose?A . Standard list controllerB . Standard controllerC . Lightning controllerD ....

September 24, 2024 No Comments READ MORE +

Which method allows access to the price book?

A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price book?A . Use Test.loadData ( )and a static resource to load a standard price bookB . Use @TestVisible to...

September 24, 2024 No Comments READ MORE +

Which update should the developer make in the Flow?

An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity. Which update should the developer make in the Flow?A . Add a new Get Records element.B...

September 23, 2024 No Comments READ MORE +

Which two events need to happen when deploying to a production org? Choose 2 answers

Which two events need to happen when deploying to a production org? Choose 2 answersA . All triggers must have at least 1% test coverage.B . All Apex code must have at least 75% test coverage.C . All triggers must have at least 75% test coverage.D . All test and...

September 23, 2024 No Comments READ MORE +