Given this information, what is the beginning of the filename in which the log will be written?

Assume the code below is executing: Business Manager has the configuration: ✑ Active Log category is “root” with log level of “info.” Given this information, what is the beginning of the filename in which the log will be written?A . xyz B. custominfo-blade C. custom-export D. custom-xyzView AnswerAnswer: D

January 18, 2023 No Comments READ MORE +

What method accomplishes this while following best practices?

The developer has been given the following business requirement: The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth category equals or is child of electronics-televisions.' The marketing department has scheduled a sale offering a “Free Standard Ground Shipping” method for brand XyzTv televisions for the next...

January 18, 2023 No Comments READ MORE +

Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?

A developer needs to check for product inventory in all inventory lists using the Open Commerce API. An example request URL is: Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?A . Client_id B. Ecom-inventory C. Inventory_listView AnswerAnswer: B

January 18, 2023 No Comments READ MORE +

Where in the code does the developer need to add this CSRF validation check?

To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form: <form … action = “submit”> <input name =”${dw.web.CSRFProtection.getTokenName()}” value = “${dw.web.CSRFProtection.generateToken()”> … <the rest of the Form fields> … </form> To implement CSRF protection when the form is submitted,...

January 18, 2023 No Comments READ MORE +

Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?

A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience. Which data store variable is appropriate, assuming there is no need to store the selection in...

January 17, 2023 No Comments READ MORE +

How should the developer configure the products?

A developer wants to configure multiple products that should only be sold as a group. It should not be possible for buyers to buy these products individually. How should the developer configure the products?A . Bundle B. Set C. Variation GroupView AnswerAnswer: A

January 17, 2023 No Comments READ MORE +

Using this information, which two logs will be written?

Business Manager has the configuration: Active Log category is "root" Log level of WARN The code below is executing: var log = Logger.getLogger("products"); Using this information, which two logs will be written? Choose 2 answersA . log.warn("This is a warn message"); B. log.error("This is an error message"); C. log.info("This is...

January 17, 2023 No Comments READ MORE +

Which two actions are necessary to make this change?

A merchant has a content slot on a page that currently displays products based on the top Sellers for the current week. They wish to change this functionality and, instead, have the slot render a specific content asset so that the content experience is more personalized to the visitors. Which...

January 16, 2023 No Comments READ MORE +

Which two methods are efficient and scalable? (Choose two.)

Which two methods are efficient and scalable? (Choose two.)A . ProductMgr.queryAllSiteProducts() B. ProductSearchHit.getRepresentedProducts() C. ProductSearchModel.getProductSearchHits() D. Category.getProducts()View AnswerAnswer: C,D

January 16, 2023 No Comments READ MORE +

In order to extend this route using prepared ( ), what should the developer consider?

A controller route in the SFRA base looks as follows: In order to extend this route using prepared ( ), what should the developer consider?A . Specify any middleware functions needed for the new functionality. B. Specify any middleware functions needed for the new functionality using only those called by...

January 16, 2023 No Comments READ MORE +