Which two statements are true regarding these issues and resolution?

A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that...

June 6, 2022 No Comments READ MORE +

What code should the developer use to authenticate?

A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication. What code should the developer use to authenticate?A . Http.setHeader ('Authorization' , 'Basic QthZGprjpchVulHNchFtZQ!)B . stub.inputHttpHeaders_x.put('Authorization' , 'Basic QthZGprJpchVulHNchFtZQ')C . Http.setAuthentication('Basic QthZGprjpchVulHNchFtZQ')D . stub.authentication.put ('Authorization','Basic QthZGprjpchVulHNchFtZQ')View AnswerAnswer: B

June 6, 2022 No Comments READ MORE +

How should the developer enable this functionality?

A developer is working on code that requires a call to an external web service from a batch . How should the developer enable this functionality?A . Implement a custom System.CalloutException classB . Include Database.AllowCallout() in the class definitionC . Implement an @future method for the callout, and invoke it...

June 6, 2022 No Comments READ MORE +

What should a developer do to fix the problem?

A developer wrote a test class that successfully asserts a trigger on Account. It fires and updates data correctly in a sandbox environment. A salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class fails with an...

June 6, 2022 No Comments READ MORE +

How can this be accomplished?

A developer wants to create a Visualforce page that allows a user to search for a given account by Name. If the account is found, the account details should be populated on screen. If no account is found, an error message should be displayed to the user. How can this...

June 6, 2022 No Comments READ MORE +

Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?A . Use a Try/Catch...

June 6, 2022 No Comments READ MORE +

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?A . Standard ControllerB . Standard List/Set ControllerC . Controller ExtensionsD . Custom ControllerView AnswerAnswer: B

June 5, 2022 No Comments READ MORE +

Which code block will accurately meet the business requirements?

.A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active,' and Accounts with the type set to 'Prospect' should have a status of 'Pending.' No other changes...

June 5, 2022 No Comments READ MORE +

What will happen when the mass update occurs?

An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account's address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign...

June 5, 2022 No Comments READ MORE +

Which consideration should be checked to resolve the issue?

A developer sees test failures in the sandbox but not in production. No code or metadata changes have been actively made to either environment since the sandbox was created. Which consideration should be checked to resolve the issue?A . Ensure the Apex Classes are on the same API version.B ....

June 5, 2022 No Comments READ MORE +