What is a best practice when passing query parameters from user interface to an apex controller?

What is a best practice when passing query parameters from user interface to an apex controller?A . Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.B . String parameters should be trimmed using String.trim().C . Query parameters should be passed only to Salesforce B2B...

August 23, 2024 No Comments READ MORE +

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

What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?A . ccrz.cc_CallContext.currUser.isGuestB . ccrz.cc_CallContext.isGuestC . UserInfo.getUserType()D . ... UserTypeView AnswerAnswer: B Explanation: A method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user...

August 23, 2024 No Comments READ MORE +

How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling

How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handlingA . An exception is generated for unknown API keysB . Parameters are passed through the service handlersC . Parameters are filtered out before the request is processedD . Parameters are separated, but unusedView AnswerAnswer: B Explanation: The...

August 23, 2024 No Comments READ MORE +

Which service method should be overridden in order to allow "without sharing" queries?

Which service method should be overridden in order to allow "without sharing" queries?A . ccrz.ccService.queryWithoutSharing()B . ccrz.ccAPI.queryService()C . ccrz.ccService.query()D . ccrz.ccService.initSVCDAO()View AnswerAnswer: D Explanation: The service method that should be overridden in order to allow “without sharing” queries is ccrz.ccService.initSVCDAO. This method is responsible for initializing the service data access...

August 22, 2024 No Comments READ MORE +

Which three actions are applicable when modifying the number of steps required in the Salesforce Commerce Checkout flow? (3 answers)

Which three actions are applicable when modifying the number of steps required in the Salesforce Commerce Checkout flow? (3 answers)A . Perform a template override on the Checkout page.B . Add a page include to the checkout page.C . Build and activate a new configuration cache setting via CC admin.D...

August 22, 2024 No Comments READ MORE +

Which two steps are necessary to enable Salesforce B2B Commerce logging in the managed package?

Which two steps are necessary to enable Salesforce B2B Commerce logging in the managed package?A . Ensure you save a value in the Logging Token input field in the Global Settings section of CC Admin.B . Turn On theCheckbox "Cloudcraze Logging" in CC Admin.C . Ensure the value saved in...

August 21, 2024 No Comments READ MORE +

Why is the use of a standard Visualforce control such as apex:form discouraged in Salesforce B2B Commerce page includes and subscriber pages?

Why is the use of a standard Visualforce control such as apex:form discouraged in Salesforce B2B Commerce page includes and subscriber pages?A . Visualforce "scopes" controls that are present on a page and scope of the control will be set to "ccrz"B . Apex:form render DOM components slowlyC . The...

August 21, 2024 No Comments READ MORE +

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

Where is the API-based record creation generally handled in Salesforce B2B Commerce?A . In the methods available in extension hooksB . The service-layer responsible for the entityC . Data creation is not allowedD . Logic classes that implement the businesslogic for create operationsView AnswerAnswer: B Explanation: The API-based record creation...

August 21, 2024 No Comments READ MORE +

Which three descriptors follow best practice for possible configuration metadata are needed to enable a flow?

A new payment type for the Checkout flow has been implemented. Which three descriptors follow best practice for possible configuration metadata are needed to enable a flow? (3 answers)A . *.payB . CartC . CheckoutD . *.EditE . *.NewView AnswerAnswer: A,D,E Explanation: To enable a new payment type for the...

August 19, 2024 No Comments READ MORE +

Which three pages should be enabled for the Guest user profile for a storefront to have anonymous checkout? (3 answers)

Which three pages should be enabled for the Guest user profile for a storefront to have anonymous checkout? (3 answers)A . CCPaymentInfoB . CheckoutNewC . OrderViewD . CheckoutE . OrderConfirmationView AnswerAnswer: A,B,E Explanation: Three pages that should be enabled for the Guest user profile for a storefront to have anonymous...

August 19, 2024 No Comments READ MORE +