What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)

What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)A . <apex : commandFunction action=?l { ! Save} " value="Save" rendered^"thePageBlock"/>B . <apex: actionFunction action=" { ! Save} " name=!,Save" rerender=l,thePageBlock1'/>C . <apex:commandButton...

April 25, 2022 No Comments READ MORE +

Which is a valid Apex REST Annotation? (Choose two.)

Which is a valid Apex REST Annotation? (Choose two.)A . @Http PatchB . @HttpDeleteC . ©HttpUpsertD . @HttpActionView AnswerAnswer: A,B

April 25, 2022 No Comments READ MORE +

Code must have X% overall code coverage.

Code must have X% overall code coverage.A . X= 100B . X = 75C . X = 65D . X = 50View AnswerAnswer: B

April 25, 2022 No Comments READ MORE +

Which method of integration should the application use?

A corporation has many different Salesforce orgs, with some different objects and some common objects, and wants to build an application that can create, retrieve, and update common object records in all of the different orgs. Which method of integration should the application use?A . Apex REST Web ServiceB ....

April 25, 2022 No Comments READ MORE +

How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?

How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?A . Insert the Account in the test class, instantiate the page reference in the test class, then use System.currentPageReference().getParameters{}.put() to set the Account IC . Instantiate the page reference...

April 25, 2022 No Comments READ MORE +

If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?

If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?A . Get requestB . Postback requestC . If PageReference points to the same controller and subset of extensions, postback request, otherwise get requestView AnswerAnswer: A

April 25, 2022 No Comments READ MORE +

What is the optimal method for a developer to troubleshoot this?

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders . What is the optimal method for a developer to troubleshoot this?A . Run the Apex Test Classes for the Apex trigger to ensure the code...

April 24, 2022 No Comments READ MORE +

What is the correct syntax to declare a remote method in Apex?

A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers. What is the correct syntax to declare a remote method in Apex? (Choose two.)A . @RemoteAction global static String getTable()B...

April 24, 2022 No Comments READ MORE +

What is the optimal functionality in the Developer Console to count the number of calls made to the method?

A developer has a Debug method within a class, which is invoked hundreds of times. What is the optimal functionality in the Developer Console to count the number of calls made to the method?A . The "Execution Log" PanelB . The "Execution Stack" PanelC . The "Executed Units" tab under...

April 24, 2022 No Comments READ MORE +

What is the most extendable way to update the Apex Trigger to accomplish this?

An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records are loaded, the Apex...

April 24, 2022 No Comments READ MORE +