시험덤프
매달, 우리는 1000명 이상의 사람들이 시험 준비를 잘하고 시험을 잘 통과할 수 있도록 도와줍니다.
  / B2B Commerce For Developers 덤프  / B2B Commerce For Developers 문제 연습

Salesforce B2B Commerce For Developers 시험

B2B Commerce For Developers Accredited Professional 온라인 연습

최종 업데이트 시간: 2024년04월30일,139문제.

당신은 온라인 연습 문제를 통해 Salesforce B2B Commerce For Developers 시험지식에 대해 자신이 어떻게 알고 있는지 파악한 후 시험 참가 신청 여부를 결정할 수 있다.

시험을 100% 합격하고 시험 준비 시간을 35% 절약하기를 바라며 B2B Commerce For Developers 덤프 (최신 실제 시험 문제)를 사용 선택하여 현재 최신 139개의 시험 문제와 답을 포함하십시오.

 / 4

Question No : 1


Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?

정답:
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.
Reference: B2B Commerce and D2C Commerce Developer Guide, Events, Cart Class

Question No : 2


Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?

정답:
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.
Reference: B2B Commerce and D2C Commerce Developer Guide, Events, View Class

Question No : 3


Which cookie stores the effective account ID when effective account is enabled?

정답:
Explanation:
The cookie that stores the effective account ID when effective account is enabled is apex__effacc. This cookie is set by the cc_hk_EffectiveAccount hook when a user switches to another account that they have access to. The cookie value is the ID of the effective account, which is used to determine the pricing, availability, and visibility of products and categories for that account.
Reference: B2B Commerce and D2C Commerce Developer Guide, Effective Account

Question No : 4


Where is the API-based record creation generally handled in Salesforce B2B Commerce?

정답:
Explanation:
The API-based record creation is generally handled in the service-layer responsible for the entity in Salesforce B2B Commerce. The service-layer is a set of classes that provide methods for interacting with the data layer and performing business logic. Each entity, such as product, cart, or order, has a corresponding service class that handles the create, read, update, and delete operations for that entity. For example, ccrz.ccServiceProduct provides methods for creating and retrieving products.
Reference: B2B Commerce and D2C Commerce Developer Guide, Service Classes

Question No : 5


Where are handlebar Templates defined in the Cloudcraze managed package?

정답:
Explanation:
Handlebar Templates are defined in the uiProperties file in the cloudcraze managed package. This file contains various properties that control the behavior and appearance of the user interface components. The handlebarTemplates property defines a map of template names and template contents that are used by the handlebars.js templating engine to generate HTML from JSON data.
Reference: B2B Commerce and D2C Commerce Developer Guide, UI Properties, Handlebars Templates

Question No : 6


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?

정답:
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.
Reference: B2B Commerce and D2C Commerce Developer Guide, API Classes, cc_api_CartExtension Class

Question No : 7


What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

정답:
Explanation:
Two kinds of queries that the methods in Salesforce B2B Commerce services perform by default are SOQL and schema-less queries. SOQL is the query language that is used to retrieve data from Salesforce objects and fields. Schema-less queries are queries that do not specify the object or field names explicitly, but use placeholders instead. For example, ccrz.ccServiceDao.getQuery('SELECT Id FROM Account WHERE Name = :name') is a schema-less query that uses :name as a placeholder for the field name. The framework will transform this query to use the actual field name based on the query transformation rules.
Reference: B2B Commerce and D2C Commerce Developer Guide, Query Transformation

Question No : 8


What is true regarding adding more Configuration Settings to Salesforce B2B Commerce?

정답:
Explanation:
More modules and metadata can be added to Salesforce B2B Commerce by creating custom configuration settings. Configuration settings are custom settings that store various values and parameters that affect the functionality and appearance of the storefront. They are organized into modules, which group related settings together. To create a custom configuration setting, the user needs to create a custom setting record in Salesforce and specify its module, name, value, and description. The custom setting will then appear in CCAdmin under the specified module.
Reference: B2B Commerce and D2C Commerce Developer Guide, Configuration Settings

Question No : 9


What is the recommended method for increasing the number of required autocomplete characters
that are typed before autocomplete works?

정답:
Explanation:
The recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works is to override the autoComplete.search_input.minLength value in the CCRZ.uiProperties file. This file contains various properties that control the behavior and appearance of the user interface components. The autoComplete.search_input.minLength property specifies the minimum number of characters that must be entered before the autocomplete feature is triggered. The default value is 3, but it can be changed to any desired value by overriding it in the CCRZ.uiProperties file.
Reference: B2B Commerce and D2C Commerce Developer Guide, UI Properties

Question No : 10


What isthe difference between Gross Layout Overrides and Subscriber Templates?

정답:
Explanation:
The difference between Gross Layout Overrides and Subscriber Templates is that Subscriber Templates allow for modification of the header and the footer, while Gross Layout Overrides allow for modification everything inside the header and footer. Subscriber Templates are custom Visualforce pages that can replace the standard header and footer components on a page. Gross Layout Overrides are custom Visualforce pages that can replace the default layout of a page, such as the number of columns, the position of widgets, or the content of sections. Salesforce
Reference: B2B Commerce and D2C Commerce Developer Guide, Subscriber Templates, Gross Layout Overrides

Question No : 11


What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?

정답:
Explanation:
An essential requirement for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin is that the theme needs to have “theme” in the name of the Static Resource. For example, a theme named “MyTheme” will not appear in CC Admin, but a theme named “MyTheme_theme” will. This is how the framework identifies which static resources are themes and which are not.
Reference: B2B Commerce and D2C Commerce Developer Guide, Themes

Question No : 12


What is default behavior for how theSalesforce B2B Commerce Global APIs transform Salesforce data?

정답:
Explanation:
The default behavior for how the Salesforce B2B Commerce Global APIs transform Salesforce data is to return field names with a lowercase first letter, camelcase convention. For example, the field name ccrz__E_Product__c in Salesforce will be transformed to eProduct in the API. This is done to follow the JavaScript naming convention and to avoid conflicts with the standard Salesforce fields and relationships.
Reference: B2B Commerce and D2C Commerce Developer Guide, Query Transformation

Question No : 13


What is a valid way of referencing the global cc_api_CartExtentsion apex class via subscriber code?

정답:
Explanation:
A valid way of referencing the global cc_api_CartExtension apex class via subscriber code is to use ccrz.cc_api_CartExtension. This is the name of the class that is defined in the cloudcraze managed package. The class is global, so it can be accessed by subscriber code. The other options are either invalid or incorrect.
Reference: B2B Commerce and D2C Commerce Developer Guide, API Classes

Question No : 14


What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?

정답:
Explanation:
A valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query is to use
ccrz__E_Cart__c. This is the transformed name of the object that is used by the Salesforce B2B
Commerce framework. All custom objects and fields that are part of the cloudcraze managed
package have the prefix ccrz__ in their API names. For example, SELECT Id, Name FROM
ccrz__E_Cart__c will query the CC Cart Object records.
Reference: B2B Commerce and D2C Commerce Developer Guide, Query Transformation

Question No : 15


What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?

정답:
Explanation:
A method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class is to use ccrz.cc_CallContext.isGuest. This property will return true if the current user is a guest user, or false otherwise. For example, if(ccrz.cc_CallContext.isGuest){ // do something for guest user } will execute some logic only for guest users.
Reference: B2B Commerce and D2C Commerce Developer Guide, Call Context

 / 4