
Reliable Salesforce Developer B2B-Commerce-Developer Dumps PDF Feb 24, 2024 Recently Updated Questions
Pass Your Salesforce B2B-Commerce-Developer Exam with Correct 179 Questions and Answers
Salesforce B2B-Commerce-Developer Exam is a challenging exam that requires a lot of preparation and dedication. It is essential to have practical experience in designing and implementing B2B Commerce solutions using Salesforce before attempting B2B-Commerce-Developer exam. However, with the right preparation and dedication, passing B2B-Commerce-Developer exam can open up a world of opportunities for you in the Salesforce ecosystem.
Salesforce B2B-Commerce-Developer is a certification that is designed for developers who want to specialize in B2B commerce solutions on the Salesforce platform. Salesforce Accredited B2B Commerce Developer certification validates the ability of developers to design, develop, and deploy B2B commerce solutions that meet the specific needs of their clients. The Salesforce Accredited B2B Commerce Developer exam tests the skills and knowledge of developers in several areas, including Salesforce B2B Commerce design, development, and deployment.
Salesforce B2B Commerce Developer certification exam is designed to test the skills required to develop and implement B2B Commerce solutions. B2B-Commerce-Developer exam is typically 60 multiple-choice questions, and participants are required to obtain a passing score of 68% or higher to secure the certification. B2B-Commerce-Developer exam covers various topics, including architecture, integration, development, debugging, and testing.
NEW QUESTION # 55
When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart. How can this requirement be fulfilled?
- A. Override the preprocess method in ccrz.cc_api_CartExtension
- B. Override the prepareToAdd method in ccrz.cc_api_CartExtension
- C. Override the prepareForSave method in ccrz.cc_api_CartExtension
- D. Override the AllowCheckout method in ccrz.cc_api_CartExtension
Answer: B
Explanation:
Explanation
To automatically add 1 unit of Product A to the cart when a user buys 10 units of Product B, the requirement can be fulfilled by overriding the prepareToAdd method in ccrz.cc_api_CartExtension. This method is responsible for preparing the cart line items before they are added to the cart. By overriding this method, the user can check the quantity and product ID of the cart line items and add an additional cart line item for Product A if the condition is met. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, API Classes, cc_api_CartExtension Class
NEW QUESTION # 56
Numerous flags ... have a directimpact on the result set provided by the Global API's. What Global API Data-Sizing convention flag prevents an API request from propagating to further requests when provided as a Boolean parameter with a value of true?
- A. ccrz.ccAPISizing.REL
- B. ccrz.ccAPI.SZ_REL
- C. ccrz.ccAPI.SZ_ASSC
- D. ccrz.ccAPISizing.ASSC
Answer: C
Explanation:
The Global API Data-Sizing convention flag that prevents an API request from propagating to further requests when provided as a Boolean parameter with a value of true is ccrz.ccAPI.SZ_ASSC. This flag indicates that only one API request should be executed with the specified sizing block, and any subsequent requests should use their own default sizing blocks. For example, ccrz.ccServiceCart.getCart(ccrz.ccAPI.SZ_L,true) will use the SZ_L sizing block for retrieving the cart data, but any other requests that are triggered by this method will use their own default sizing blocks. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Data Sizing Conventions
NEW QUESTION # 57
Which three attributes are true regarding Subscriber pages? (3 answers)
- A. Subscriber pages allow customers to quickly create new custom pages for their storefront.
- B. Standard Salesforce B2B Commerce components are automatically included on the page e.g. Header links, images, menu items, containers, etc.
- C. All the user interface components must be createdmanually.
- D. Out of the Box, Subscriber Pages are completely blank HTML pages.
- E. Subscriber pages can include additional standard Salesforce B2B Commerce components such as featured products, category tree, and mini cart.
Answer: A,D,E
Explanation:
Three attributes that are true regarding Subscriber Pages are:
Subscriber Pages can include additional standard Salesforce B2B Commerce components such as featured products, category tree, and mini cart. These components can be added to the Subscriber Pages by using the CCRZ.pagevars.pageLabels and CCRZ.pagevars.pageSections objects, which contain the page labels and page sections that are defined in CCAdmin.
Subscriber Pages allow customers to quickly create new custom pages for their storefront. These pages can be used to display any content or functionality that is not available in the default pages, such as FAQs, testimonials, or promotions.
Out of the Box, Subscriber Pages are completely blank HTML pages. These pages do not have any predefined layout or content, so the user can customize them according to their requirements. The user can use Visualforce, HTML, CSS, JavaScript, or any other web technologies to create their own Subscriber Pages. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Subscriber Pages
NEW QUESTION # 58
Which three attributes are true regarding Subscriber pages? (3 answers)
- A. Subscriber pages allow customers to quickly create new custom pages for their storefront.
- B. Out of the Box, Subscriber Pages are completely blank HTML pages.
- C. Standard Salesforce B2B Commerce components are automatically included on the page e.g. Header links, images, menu items, containers, etc.
- D. All the user interface components must be created manually.
- E. Subscriber pages can include additional standard Salesforce B2B Commerce components such as featured products, category tree, and mini cart.
Answer: A,C,E
NEW QUESTION # 59
Which three actions are applicable when extending a default Salesforce B2B Commerce page via a page include? (3 answers)
- A. Build and activate a new configuration cache setting via CC admin.
- B. Create a Service Class override to query the new page include.
- C. Create a configuration setting for enabling the page include and assigning the new page include via CC admin.
- D. Prepend "c." to the name of the page referenced in the configuration setting.
- E. Create the VisualForce page you wish to include to the Salesforce b2B Commerce page.
Answer: A,C,E
NEW QUESTION # 60
Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?
- A. cart
- B. cartState
- C. pageMessage
- D. cartChange
Answer: D
Explanation:
The event that is triggered within Salesforce B2B Commerce whenever a cart's state changes is cartChange. This event is triggered by the updateCart method of the CCRZ.Cart class, which is responsible for updating the cart data and performing any actions that depend on the cart state, such as applying discounts, taxes, or shipping charges. The event can be used to notify all the components that are listening to it that the cart has changed and they should refresh their data accordingly. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Events, Cart Class
NEW QUESTION # 61
Which three actions are applicable when modifying the number of steps required in the Salesforce Commerce Checkout flow? (3 answers)
- A. Set the value of the configuration setting defined as CO.useDef to TRUE
- B. Add a page include to the checkout page.
- C. Build and activate a new configuration cache setting via CC admin.
- D. Set the value of the configuration setting defined as CO.overrideFlow to TRUE.
- E. Perform a template override on the Checkout page.
Answer: B,C,D
NEW QUESTION # 62
Which three data types are supported for custom fields while using CSV file format for importing data for a store?
- A. Lookup Relationship
- B. Address
- C. Currency
- D. Picklist (Multi-Select)
- E. Text Area(Long)
Answer: A,C,E
Explanation:
Three data types that are supported for custom fields while using CSV file format for importing data for a store are Text Area(Long), Lookup Relationship, and Currency. A custom field is a field that is added by a developer or an administrator to an object to store additional information or data. A data type is a property that defines the type, format, and validation rules of a field. A CSV file is a file format that stores tabular data in plain text using commas to separate values. A store is a record that represents a B2B or B2C storefront in Salesforce. Text Area(Long) is a data type that allows users to enter up to 131,072 characters on separate lines. Text Area(Long) is supported for custom fields while using CSV file format for importing data for a store. Lookup Relationship is a data type that allows users to create a relationship between two objects and select a value from another record. Lookup Relationship is supported for custom fields while using CSV file format for importing data for a store. Currency is a data type that allows users to enter currency values and automatically convert them based on the user's locale and currency settings. Currency is supported for custom fields while using CSV file format for importing data for a store. Picklist (Multi-Select) is a data type that allows users to select one or more values from a predefined list of values. Picklist (Multi-Select) is not supported for custom fields while using CSV file format for importing data for a store. Address is a data type that allows users to enter address values and automatically format them based on the user's locale settings. Address is not supported for custom fields while using CSV file format for importing data for a store. Salesforce Reference: [Salesforce Help: Custom Field Attributes], [Salesforce Help: Data Types], [Data Loader Guide: Import Data into Salesforce], [B2B Commerce Developer Guide: Store Object]
NEW QUESTION # 63
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes. Which command will return the value in the given Map if found or a default value in the event that the Map is null, empty, or an object is not found for that key?
- A. ccrz.ccUtil.... (Map<String.Object> mp, String key, Object ob)
- B. ccrz.ccUtil.defaultValue(Map<String.Object> mp, String key , Object ob)
- C. ccrz.ccUtil.defv (Map<String.Object> mp, String key , Object ob)
- D. ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob)
Answer: C
NEW QUESTION # 64
Which format is the custom Salesforce field with the API name
"My_Fiels_Name__c" transformed onto by default in Salesforce B2B Commerce?
- A. myfieldname
- B. MyFieldName
- C. myFieldName
- D. My_Field_Name__c
Answer: C
Explanation:
Explanation
The format that the custom Salesforce field with the API name My_Field_Name__c is transformed onto by default in Salesforce B2B Commerce is myFieldName. This is done to follow the JavaScript naming convention and to avoid conflicts with the standard Salesforce fields and relationships. The transformation rules are as follows:
* Remove any namespace prefix from the field name, such as ccrz__ or cloudcraze__.
* Remove any underscores from the field name and capitalize the first letter of each word after an underscore, such as MyFieldName.
* Lowercase the first letter of the field name, such as myFieldName. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, Query Transformation
NEW QUESTION # 65
Ursa Major is planning to implement Salesforce B2B Commerce, and a developer needs to configure taxes for their storefront. The company operates in multiple states, each with different tax rates and tax rules.
What are two ways the developer should configure taxes in B2B Commerce?
- A. Configure tax rates and rules for each state in Salesforce B2B Commerce.
- B. Use a different pricebook for each state.
- C. Use the Salesforce out-of-the-box tax calculator.
- D. Configure a tax engine using third-party software.
Answer: A,D
Explanation:
Two ways that a developer should configure taxes in B2B Commerce for Ursa Major are: configure a tax engine using third-party software and configure tax rates and rules for each state in Salesforce B2B Commerce. Configuring a tax engine using third-party software allows the developer to integrate with an external tax service provider that can calculate and apply accurate and up-to-date tax rates and rules for different states and jurisdictions. The developer can use the sfdc_checkout.TaxCalculations interface or the RegisteredExternalService object to connect to the third-party tax service provider's API or service. Configuring tax rates and rules for each state in Salesforce B2B Commerce allows the developer to implement their own custom tax calculation logic using Apex code. The developer can use custom objects, such as TaxRate__c and TaxRule__c, to store and manage tax rates and rules for different states and products. The developer can also use the sfdc_checkout.TaxCalculations interface to define how to retrieve and apply tax rates and rules for a cart or an order. Using a different pricebook for each state is not a good way to configure taxes in B2B Commerce, as it can create complexity and inconsistency in pricing and discounting logic. Using the Salesforce out-of-the-box tax calculator is not a good way either, as it does not support complex or dynamic tax scenarios that may vary by state or jurisdiction. Salesforce Reference: [B2B Commerce Developer Guide: Tax Integration], [B2B Commerce Developer Guide: Tax Calculations Interface], [B2B Commerce Developer Guide: TaxRate Object], [B2B Commerce Developer Guide: TaxRule Object]
NEW QUESTION # 66
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?
- A. view:*:rendered
- B. view:*:load
- C. view:*:refresh
- D. view:*:onload
Answer: A
Explanation:
Explanation
The event that is invoked by any CCRZ Salesforce B2B Commerce View after the view is rendered is view:*:rendered. This event is triggered by the render method of the CCRZ.View class, which is the base class for all views in the framework. The event can be used to perform any actions or logic that depend on the view being rendered, such as initializing widgets, binding events, or updating the user interface. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, Events, View Class
NEW QUESTION # 67
Which three pages should be enabled for the Guest user profile for a storefront to have anonymous checkout? (3 answers)
- A. Checkout
- B. OrderConfirmation
- C. CheckoutNew
- D. CCPaymentInfo
- E. OrderView
Answer: B,C,D
Explanation:
Three pages that should be enabled for the Guest user profile for a storefront to have anonymous checkout are:
CCPaymentInfo: This page allows the guest user to enter their payment information, such as credit card number, expiration date, and security code. The page also displays the order summary and total amount.
CheckoutNew: This page allows the guest user to enter their shipping and billing information, such as name, address, phone number, and email. The page also displays the cart items and shipping options.
OrderConfirmation: This page displays the confirmation message and order number after the guest user places their order. The page also provides a link to view the order details or print the invoice. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Anonymous Checkout
NEW QUESTION # 68
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?
- A. {!Cart.Details.grandTotal}
- B. {!Cart.Fields.grandTotal}
- C. {ICart.Details.Fields.grandTotal}
- D. {ICart.Totals.grand Total}
Answer: C
Explanation:
Explanation
According to the B2B Commerce Developer Guide, the ICart interface provides access to the cart object and its related data. The Details property of the ICart interface returns an ICartDetails object, which contains information about the cart such as the currency, the subtotal, the shipping cost, the tax, and the grand total. The Fields property of the ICartDetails interface returns a map of field names and values for the cart object.
Therefore, to get the grand total amount for items in the cart and in the currency of the cart, a developer should use the expression {ICart.Details.Fields.grandTotal}, which returns the value of the grandTotal field from the cart object. References: B2B Commerce Developer Guide, ICart Interface, ICartDetails Interface
NEW QUESTION # 69
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?
- A. "__ccrz"
- B. The letter "S"
- C. A subscriber-supplied token
- D. The "*" symbol
Answer: B
NEW QUESTION # 70
In which three ways should useful debugging information in Salesforce B2B Commerce implementation be garnered? (3 answers) A) Enabling the logging token via
- A. Logging a case with Salesforce support to enable advanced debugging options.
- B. Placing a System.debug() statement anywhere in the class being debugged.
- C. Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions.
- D. Admin and subsequently inspecting the logs via the browser console.
- E. Enabling debugging options for the current user and visually inspecting the Salesforce debug logs.
Answer: B,D,E
NEW QUESTION # 71
Which three steps are necessary to have subscriberpage added to Salesforce B2B Commerce after creating a custom Visualforce page? (3 answers)
- A. Create a new CC Subscriber Page record that points to your custom Visualforce page.
- B. Enable the Subscriber Page in CC Admin.
- C. Refresh the Page Keys Index in CC Admin.
- D. Create a new Visualforce page, and manually import the Salesforce B2BCommerce JavaScript libraries. Run in Anonymous Apex ccrz.cc_util_Reflection.upsertPageUIKey([arg1],[arg2],[arg3]);
Answer: A,B,C
Explanation:
Three steps that are necessary to have a subscriber page added to Salesforce B2B Commerce after creating a custom Visualforce page are:
Create a new CC Subscriber Page record that points to your custom Visualforce page. This record will store information about the subscriber page, such as the name, description, URL, and Visualforce page. For example, you can create a new record named MySubscriberPage that points to your custom Visualforce page named MyPage.
Refresh the Page Keys Index in CC Admin. This action will update the page keys index, which is a cache that stores the mapping between the page keys and the subscriber pages. You need to do this whenever you create or modify a subscriber page record.
Enable the Subscriber Page in CC Admin. This action will allow you to select the subscriber page from the CC Page Settings configuration and assign it to a CC Page. For example, you can enable MySubscriberPage and assign it to the Home page. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Subscriber Pages
NEW QUESTION # 72
How can a developer introduce new screen behavior in a checkout flow step?
- A. Edit the default subflow directly
- B. Adjust next-state in previous subflow configuration
- C. Clone the appropriate subflow and replace the Lightning web components in it
- D. Modify the property mappings in checkoutSteps.xml
Answer: C
Explanation:
To introduce new screen behavior in a checkout flow step, a developer should clone the appropriate subflow and replace the Lightning web components in it. A subflow is a reusable flow that can be invoked from another flow as an element. A checkout flow is a flow that defines the steps and components for the checkout process in the storefront. A checkout flow consists of several subflows, each of which corresponds to a checkout step, such as Cart, Shipping Address, Payment, or Order Summary. To introduce new screen behavior in a checkout flow step, a developer should clone the subflow that matches the checkout step they want to modify and replace the Lightning web components in the cloned subflow with their custom components. The developer can then update the checkoutSteps.xml file to point to the cloned subflow instead of the original subflow. Modifying the property mappings in checkoutSteps.xml is not a valid way to introduce new screen behavior in a checkout flow step, as it only affects how data is passed between subflows, not how screens are displayed or rendered. Editing the default subflow directly is not a valid way either, as it can cause conflicts or errors with other stores or environments that use the same default subflow. Adjusting next-state in previous subflow configuration is not a valid way either, as it only affects how subflows are transitioned or navigated, not how screens are displayed or rendered. Salesforce Reference: B2B Commerce Developer Guide: Checkout Flow, B2B Commerce Developer Guide: Checkout Subflows, B2B Commerce Developer Guide: Customize Checkout Steps
NEW QUESTION # 73
Which two event settings are required for a custom event called CustomEvent to fire from the Lightning web component and propagate up to the DOM?
- A. bubbles: true
- B. composed: true
- C. cancelable: true
- D. composed: false
Answer: A,B
Explanation:
To fire a custom event called CustomEvent from the Lightning web component and propagate it up to the DOM, the developer must set two event settings: bubbles and composed. The bubbles setting determines whether the event bubbles up through the component's ancestors in the DOM tree. The composed setting determines whether the event crosses the shadow boundary and reaches the light DOM. Setting both bubbles and composed to true allows the event to be handled by any element in the DOM that listens for it. The cancelable setting is not required for firing or propagating the event, as it only determines whether the event can be canceled by calling preventDefault() on it. Setting composed to false would prevent the event from reaching the light DOM and limit its propagation to the shadow DOM. Salesforce Reference: Lightning Web Components Developer Guide: Create and Dispatch Events, Lightning Web Components Developer Guide: Event Propagation
NEW QUESTION # 74
Which wire adapter should a developer use to retrieve metadata about a specific picklist?
- A. getPicklistValues
- B. getPicklist
- C. getPicklistMetadataValues
- D. getPicklistMetadata
Answer: A
Explanation:
Explanation
To retrieve metadata about a specific picklist, a developer should use the getPicklistValues wire adapter. The getPicklistValues wire adapter imports data from the @salesforce/ui-api module and returns an object that contains information such as the picklist's label, value, default value, validity, and controlling field values.
The getPicklistMetadataValues wire adapter does not exist. The getPicklistMetadata wire adapter does not exist either. The getPicklist wire adapter does not exist either. Salesforce References: [Lightning Web Components Developer Guide: getPicklistValues], [Lightning Web Components Developer Guide: Import User Interface API]
NEW QUESTION # 75
How are version related upgrades passed on to subscriber API extensions/overrides?
- A. The "delegate" allows inherited method calls access to the most recentlyspecified service version
- B. Extensions and overridden APIs don't support-related upgrades.
- C. APIs callback with specific versions specified; the user must know which version number to use.
- D. Copy and paste of specific code is "built-in"
Answer: A
Explanation:
Explanation
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.
NEW QUESTION # 76
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?
- A. A subscriber-supplied token
- B. The "*" symbol
- C. The letter "S"
- D. "__ccrz"
Answer: D
Explanation:
Explanation
A query containing a subquery is executed. By default, in Salesforce B2B Commerce, "__ccrz" is appended to the subquery name as part of its transformation. This is done to avoid conflicts with the standard Salesforce fields and relationships. For example, SELECT Id, Name, (SELECT Id, Name FROM Contacts) FROM Account will be transformed to SELECT Id, Name, (SELECT Id, Name FROM Contacts__ccrz) FROM Account__ccrz. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, Query Transformation
NEW QUESTION # 77
Which two statement are true for Mass Order (2 answers)
- A. Mass order works with thedefault wishlists
- B. The variation product is leveraged for SKUs.
- C. Mass Order is mobile ready with the ccrz templates.
- D. Mass Order pricing is done via a batch job.
Answer: B,D
Explanation:
Explanation
Mass Order pricing is done via a batch job, which means that the prices are not calculated in real time, but rather at a scheduled time. Mass order works with the variation product, which is a product that has multiple SKUs with different attributes, such as size or color. Mass order does not work with the default wishlists, which are used to store products that the customer wants to buy later. Mass order is not mobileready with the ccrz templates, which are the default templates for the storefront pages. Salesforce References: B2B Commerce Developer Guide: Mass Order, B2B Commerce Developer Guide: Variation Products
NEW QUESTION # 78
......
Latest 2024 Realistic Verified B2B-Commerce-Developer Dumps: https://certtree.2pass4sure.com/Salesforce-Developer/B2B-Commerce-Developer-actual-exam-braindumps.html