Salesforce B2B-Commerce-Developer - Salesforce Accredited B2B Commerce Developer Certification Exam
Question #1 (Topic: demo questions)
How are version related upgrades passed on to subscriber API extensions/overrides?
Correct Answer: D
Explanation:
Version related upgrades are passed on to subscriber API extensions/overrides by using the
Version related upgrades are passed on to subscriber API extensions/overrides by using the
“delegate” keyword, which allows inherited method calls access to the most recently specified
service version. For example, delegate.getCart() will invoke the getCart() method of the latest service
version that is available for the current storefront. This way, extensions and overrides can leverage
the new features and enhancements of the upgraded service versions without modifying their code.
Question #2 (Topic: demo questions)
How are variables bound when services use the ccSercviceDao classto execute queries?
Correct Answer: C
Explanation:
When services use the ccServiceDao class to execute queries, variables are bound by string
When services use the ccServiceDao class to execute queries, variables are bound by string
substitution. This means that the query string contains placeholders for variables that are replaced by
their values at runtime. For example, ccrz.ccServiceDao.getQuery('SELECT Id FROM Account WHERE
Name = :name') will replace :name with the value of the name variable.
Question #3 (Topic: demo questions)
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)
Correct Answer: B, D
Explanation:
It is preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the
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.
Question #4 (Topic: demo questions)
A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What
should be typed in the Developer Tools Console in the browser to view the fields available for the
Product Detail Page?
Correct Answer: C
Explanation:
To view the fields available for the Product Detail Page, the developer should type
To view the fields available for the Product Detail Page, the developer should type
CCRZ.productDetailModel in the Developer Tools Console in the browser. This will display the
product detail model object, which contains the product data and attributes that are rendered on the
page. The other options are either not valid or not relevant for the Product Detail Page.
Question #5 (Topic: demo questions)
A Developer created a custom field that a project wants to expose on a given page.
How does the Developer ensure that the field is available to display on a given page?
Correct Answer: A
Explanation:
To ensure that a custom field is available to display on a given page, the Developer needs to override