A developer suspects that a defect exists in 30 lines of Apex code. How can the developer add debug statements, run the block of apex code in isolation and observe the immediate results?
Northern Tail Outfitters (NTO) is converting an existing aura component into a Lightning Web Component. The aura component has the following source code:
What is the equivalent of this code in a Lightning Web Component?
A)
B)
C)
D)
What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?
Which cart item type is created with the Cart Delivery Group Method after the shipping integration?
Which handlebars helper function is used on Salesforce B2B Commerce pages and
components for formatting price values?
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)
Which two methods from the platformResourceLoader module are relevant for including third party JavaScript and CSS in a Lightning web component?
A user wants to have a customized experience for adding items to the cart. The user
also wants the mini cart module to reflect changes to the state of the cart afterwords. How
should this requirement be fulfilled?
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)
A developer is debugging a flow and needs to watch all the variables changing as the checkout process is executed, but nothing is displaying. Which two features did the developer forget to enable?
Which wire adapter can a developer use to retrieve metadata about a specific object?
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?
A developer is working on a storefront that needs to use a sophisticated pricing engine hosted as a service outside the org. Assuming security and trusts have been established, which two actions must the developer take?
A developer is writing custom code to compare External Prices and Sales Prices for cart items. What should be returned if the External Prices are the same as Sales Prices for Products in the Cart? ~.
Inwhich three different ways can a theme be enabled in
Salesforce B2B Commerce? (3 answers)
A developer is creating a component to implement a custom Terms and Conditions checkbox at checkout in the Aura Commerce template.
Which method should the developer implement on the Lightning web component to ensure the user accepts the terms and conditions?
A developer needs to implement a business rule around shipping: Anything over a certain amount must be sent through freight at a fixed cost and cannot be
sent through standard shipping channels. Which two considerations should the developer consider?
Which HTML element can be used as a root tag for a Lightning Web Component's HTML file?
A developer is working on an existing checkout implementation built against the Lightning Web Runtime (LWR) and wants to implement a custom child checkout component to modify out-of-the-box functionality.
Which interface must the developer implement for the child component?
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?
A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?
Northern Trail Outfitters (NTO) has a requirement to schedule a reusable data import across multiple orgs for customer demo purposes. NTO also has a requirement to seed data of related objects—ProductCatalog, ProductCategory, Product2, and ProductCategoryProduct— while preserving its relationships and without purchasing additional licenses or using thirdparty tools.
What is the recommended tool a developer should select to address the requirement?
Based on error emails flowing in, a developer suspects that recent edits made to a checkout flow have created a defect. The developer has data points available to use as inputs in reproducing the scenario.
What should the developer do next?
Which of these is a key pattern leveraged when building Lightning Web Components? 39m 36s
A user wants the pricing to reflect the price values stored in an external ERP during
the checkoutflow. In what way can this requirement be satisfied?
A developer has just deployed a new Lightning Web Component to an authorized org. What should the developer do next to use the new component on apage?
How can a developer establish communication between components that are not in the same DOM (Document Object Model) tree?
A developer suspects recent edits to a checkout flow have created a bug based on flow errors being emailed. Given the emails and some inputs known to trigger the issue, which two activities should the developer consider in their investigation?
Which two are considered discrete units of work (code units) within a transaction in the debug logs?
When a developer configures a tax integration for a store, what happens to the previously calculated tax entries during the checkout flow?
Which three are considered code units, or discrete units of work within a transaction in the debug logs?
A product is assigned to the entitlement policy but is missing from the Price Book related to the Buyer Group. The entitlement policy has View products and View prices in catalog checked.
How will the product behave on the B2B Portal?
A developer is trying to integrate a new shipping provider to use during checkout in a storefront Which two steps must the developer take to make an integration available for selection?
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?
The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)
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?
In checkout, what event should the developer's code listen for in order to help troubleshoot and respond to actions?
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
What are two guidelines for logging that are used within the core Salesforce
B2B Commerce product? (2 answers)
Which three actions must a developer take, in a B2B Commerce store, to accept credit card payments using a client's chosen payment provider?
A developer is attempting to write a Lightning Web component from scratch by first creating the HTML markup and receives an error. Which three tags when used as the first element in the file would produce an error?
Which wire adapter should a developer use to retrieve metadata about a specific object?
A developer needs to implement a custom Lightning web component (LWC) for the storefront.
The LWC contains language-specific text values.
How should the developer translate the text values?
Which two items are required for a developer to bring picklist values into a Lightning Web Component?
Numerous flags when set, have a direct impact on the result set provided by the
Global API's. Which conversion flag allows for sObjects to be returned from the
Global API's when provided as a Boolean parameter with a value of true?
What is a valid way of referencing the global cc_api_CartExtentsion apex class via
subscriber code?
Which handlebars helper expression is used in Salesforce B2B Commerce pages and
components to toggle the display of a block of markup?
A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API.
Which lifecycle hook should the developer use to make the API call?
What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)