ExamGecko
Ask Question

Salesforce Certified B2B Commerce Developer Practice Test - Questions Answers, Page 14

Add to Whishlist

List of questions

Question 131

Report Export Collapse

In checkout, what event should the developer's code listen for in order to help troubleshoot and respond to actions?

CommerceBubbleEvents
CommerceBubbleEvents
CommerceErrorEvents
CommerceErrorEvents
CommerceActionEvents
CommerceActionEvents
CommerceDiagnosticEvents
CommerceDiagnosticEvents
Suggested answer: D
Explanation:

To help troubleshoot and respond to actions in checkout, the developer's code should listen for CommerceDiagnosticEvents. CommerceDiagnosticEvents is an event that is fired by Salesforce B2B Commerce when an error occurs in the storefront. CommerceDiagnosticEvents contains information about the error, such as error code, error message, error type, and error details. CommerceDiagnosticEvents can be subscribed by other components or services that want to handle or display the error information in different ways. The developer's code can listen for CommerceDiagnosticEvents using anaura:handlertag in Aura Components or an @wire decorator in Lightning web components. The developer's code can also use the event information to perform custom logic or actions based on the error, such as logging, reporting, or notifying. CommerceBubbleEvents is not an event that the developer's code should listen for in checkout, as it is not related to troubleshooting or responding to actions. CommerceBubbleEvents is an event that is fired by Salesforce B2B Commerce when a user interacts with a bubble component in the storefront. A bubble component is a user interface element that displays information or options in a pop-up window when clicked or hovered over. CommerceBubbleEvents contains information about the user interaction, such as bubble name, bubble type, and bubble value. CommerceErrorEvents is not an event that the developer's code should listen for in checkout either, as it is not related to troubleshooting or responding to actions. CommerceErrorEvents is an event that is fired by Salesforce B2B Commerce when a validation error occurs in the storefront. CommerceErrorEvents contains information about the validation error, such as field name, field label, and error message. CommerceActionEvents is not an event that the developer's code should listen for in checkout either, as it is not related to troubleshooting or responding to actions. CommerceActionEvents is an event that is fired by Salesforce B2B Commerce when a user performs an action in the storefront. CommerceActionEvents contains information about the user action, such as action name, action type, and action parameters. Salesforce

Reference:B2B Commerce Developer Guide: Handle Errors,B2B Commerce Developer Guide: Handle User Interactions with Bubble Components,B2B Commerce Developer Guide: Handle Validation Errors,B2B Commerce Developer Guide: Handle User Actions

asked 23/09/2024
HWANG SEON TAE
52 questions

Question 132

Report Export Collapse

Which two are considered discrete units of work (code units) within a transaction in the debug logs?

Become a Premium Member for full access
  Unlock Premium Member

Question 133

Report Export Collapse

A developer is on a tight timeline and needs to implement a Lightning web component which can read, create and modify single records. What is the recommended path forward?

Become a Premium Member for full access
  Unlock Premium Member

Question 134

Report Export Collapse

A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to know if a CSS file containing small changes was actually deployed to the org. What is one way this can be accomplished?

Become a Premium Member for full access
  Unlock Premium Member

Question 135

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 136

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 137

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 138

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 139

Report Export Collapse

What is true about mapping custom fields from Cart to Order Summary?

Become a Premium Member for full access
  Unlock Premium Member

Question 140

Report Export Collapse

A developer has made some changes to the products of an existing storefront, but they are unable to see the changes in the products from the store.

Which action did the developer forget to take?

Become a Premium Member for full access
  Unlock Premium Member
Total 221 questions
Go to page: of 23
Search

Related questions