A Digital Developer wants to selectively retrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?
A.
Use import/export in Business Manager.
B.
Create a webservice to retrieve products.
C.
Use OCAPI and invoke it in native language.
D.
Use WebDAV Client to retrieve products.
Use WebDAV Client to retrieve products.
Universal Containers calls the following combination of products “The Basics” and sells the combination as a
unique product ID:
One Model 103 container
Five Model 611 container
Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create “The Basics” as a combination?
A.
In the Product Bundles module, create a bundle named “The Basics”.
B.
In the Products module, create a product named “The Basics” and add the products to the Product
Bundles tab.
C.
In the Products module, create a product named “The Basics” and add the products to the Product Sets tab.
D.
In the Product Sets module, create a product set named “The Basics”.
In the Products module, create a product named “The Basics” and add the products to the Product
Bundles tab.
Universal Containers wants to change a content slot that is currently configured to display a content asset. Now they want the slot to display the top five selling boxes for the week.
Which two changes need to be made for this to occur? (Choose two.)
A.
Change the slot’s configuration content type to “products.”
B.
Change the slot’s configuration content type to “recommendations.”
C.
Change the slot’s configuration template to the appropriate rendering template.
D.
Delete the existing content asset
Change the slot’s configuration content type to “recommendations.”
Change the slot’s configuration template to the appropriate rendering template.
A Digital Developer needs to add logging to the following code:
A.
logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);
B.
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
C.
Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode);
D.
Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode);
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
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, the developer needs to introduce the CSRF
validation using one or both of these methods as applicable:
• validateRequest
• validateAjaxRequest
Where in the code does the developer need to add this CSRF validation check?
A.
In the controller function that displays the form
B.
In the middleware chain of the controller post route
C.
In the controller function that handles the submitted form
D.
In the model function that persists the form data
In the middleware chain of the controller post route
Page 11 out of 45 Pages |
Previous |