B2B-Commerce-Developer B2B Commerce for Developers Accredited Professional AP-202 Questions and Answers
A developer needs to deliver a solution for taxation that supports multiple countries and a complex set of jurisdictions. Which three steps should be considered as part of this process?
Which wire adapter can a developer use to retrieve metadata about a specific object?
What should a developer's implementation code return if the External Prices are the same as Sales Prices for Products in the Cart?
The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)
A developer has created a custom Lightning web component for the Cart page that needs to react to changes to cart items from the standard cart component.
How should the developer implement the custom component so changes to cart items and
quantities are reflected?
Northern Trail Outfitters (NTO) has acquired a company and is looking to manage product data across the org seamlessly. The company has a governance policy to not install any tool or use third-party API applications to export or import the data into Salesforce. However, users have access to Salesforce CLI.
Which set of tasks must a developer perform whento export data from Salesforce or import data into Salesforce?
Which interface does a developer have to implement to override Inventory in Checkout?
Where is the API-based record creation generally handled in Salesforce B2B
Commerce?
A Northern Trail Qutfitters (NTO) developer made a tile component. To expose a click event and react to user input using the markup below, what should replace < CLICK_EVENT > ?

Which two behaviors does a target value of lightning__FlowScreen in metadata allow for a Lightning web
component?
In which threeways can Salesforce B2B Commerce API sizing blocks support
multiple API sizing requests? (3 answers)
Which component can be used in other Salesforce Experience templates outside of B2B Commerce?
Which three actions must a developer take, in a B2B Commerce store, to accept credit card payments using a client's chosen payment provider?
Which three components should a developer use on the product page to replace the out-of-the-box Product Detail Card component?
A developer has written the logic to import products from an enterprise resource pi products are in Salesforce, but they are not visible in the store.
What did the developer forget to assign to the imported products?
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?
A developer needs to implement specific styling for a standard component on a single page of the B2B Commerce store using an Aura template. The component should use the default style on all other pages
How should the developer implement the required changes over multiple instances?
What are three advantages of using ccLog over the Salesforce
standard System.debug class? (3 answers)
A user wants to leverage a three columnlayout on a page. The user also wants to move the mini-cart widget from the right to the center column. How can this requirement be fulfilled?
Which two log levels does a developer need to include to debug platform events?
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)
While working on a commerce rollout, a developer needs to update the checkout process so that buyers can purchase with one of the below payment types.
• Credit Card
• Purchase Order
• Contract Now & Pay Later
Additionally, the developer needs to show only Purchase Order and Contract Now & Pay Later if a custom checkbox field on the account is checked.
How should the developer meet these requirements?
What tool can a developer use to investigate errors during development? 07m 42s
A developer needs to debug a flow tracing a single input in complete detail, watching all variable changes as the checkout process is executed. Which feature should the developer enable? ~.
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility
functions that can be leveraged in subscriber classes.
What are two ways to check the input or return data of the Global API's? (2 answers)
Which tool should a developer use to author automated tests for custom Lightning web components?
A query containing a subquery is executed. What is appended to the subquery name
as part of its transformation by default in Salesforce B2B Commerce?
Which method is used to override when extending the Salesforce B2B Commerce logic providers?
Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?
An administrator has just provided a developer with a completely new org and a username. Assuming the username is me@my-new-org.org, what is the correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components?
How are variables bound when services use the ccSercviceDao classto execute queries?
How should a developer get the grand total amount, including shipping and tax, for items in the
cart and in the currency of the cart, when developing a new Lightning web component for an
Aura storefront cart page?
Which three files are required for a deployable Lightning Web Component called displayMyData that will fetch and display data?
What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?
Although Salesforce B2B Commerce and Salesforce recommend against using
"without sharing classes" whenever possible, sometimes it is unavoidable. Which three
items will open up a major security hole? (3 answers)
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
Which two blocks of code are needed to implement a custom getter in a Lightning web component?
A)

B)

C)

D)

A dev at Northern Trail Outfitters (NTO) exported Order Summary records via Data Loader, but noticed that some orders were missing. What is the most likely cause?
Which handlebars helper function is used on Salesforce B2B Commerce pages and
components for formatting price values?
Which handlebars helper expression is used in Salesforce B2B Commerce pages and
components to toggle the display of a block of markup?
Which element can be used to pass HTML from a parent component to a child component? 03m 19s
A dev at Northern Trail Outfitters (NTO) exported Order Summary records via Data Loader, but noticed that some orders were missing. What is the most likely cause?
What are two guidelines for logging that are used within the core Salesforce
B2B Commerce product? (2 answers)
What is default behavior for how theSalesforce B2B Commerce Global APIs transform Salesforce data?
Which format is the custom Salesforce field with the API name
"My_Fiels_Name__c" transformed onto by default in Salesforce B2B Commerce?
Which format is the custom Salesforce relationship with the API name,
"My_Relationship_Name__r.My_Name__c" queried and transformed into dy default in
Salesforce B2B Commerce?
Which wire adapter should a developer use to retrieve metadata about a specific picklist?
A developer has the task to create custom Lightning web components (LWCs). Which two steps must a developer take when creating custom LWCs?
Salesforce B2B leverages global API's for encapsulating business logic into blocks
that can be extended and modified by subscribers. Which three statements are true
regarding extending ccServiceProduct and exposing custom fields on the Product Detail
Page? (3 answers)
A developer exports data from an org on a standard entity which has a custom attribute. When they launch Data Loader, select the entity, click the Select All Fields button and click Finish, the custom field they added called MyCustomField_c has no values and no column header in the CSV file. What is the root cause?
Which event should be triggered when user facing info, warning or error messages
need to be displayed on a Visualforce page?
Which cookie stores the effective account ID when effective account is enabled?
Northern Trail Outfitters (NTO) has a B2B Commerce store for its resellers. It has received many customer service calls involving questions about the delivery date of customer orders.
How should a developer expose delivery time estimates to NTO's customers in the storefront to reduce call volume?
A developer attempts to export data from an org by launching Data Loader, selecting a standard entity, clicking the "Select All Fields" button and clicking the Finish button. The developer finds that the CustomField_c field they added to the entity has no values under the header in the CSV file output. What is the root cause?
Why is the use of a standard Visualforce control such as apex:form discouraged in
Salesforce B2B Commerce page includes and subscriber pages?
Which template will correctly display the details message only when areDetailsVisible becomes true given the following code in a Lightning Web Component?

A)

B)

C)

D)

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?
