ExamGecko
Question list
Search
Search

Question 28 - Certified B2B Commerce Developer discussion

Report
Export

For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)

A.
A standard remote action will not have access to Salesforce B2B Commerce objects.
Answers
A.
A standard remote action will not have access to Salesforce B2B Commerce objects.
B.
The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
Answers
B.
The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
C.
Salesforce B2B Commerce includes do not support standard SalesForce remote actions.
Answers
C.
Salesforce B2B Commerce includes do not support standard SalesForce remote actions.
D.
The Salesforce B2B Commerce logger cannot be utilized in standard remote actions
Answers
D.
The Salesforce B2B Commerce logger cannot be utilized in standard remote actions
Suggested answer: B, D

Explanation:

It is preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager for two reasons:

The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object, which contains useful information such as the current user, cart, storefront, and configuration settings. This can simplify the development and testing of the remote action.

The Salesforce B2B Commerce logger can be utilized in the remote action, which allows logging messages and errors to the debug log or to a custom object. This can facilitate debugging and troubleshooting of the remote action.

asked 23/09/2024
Jozsef Stelly
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first