What is a possible reason?
A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code. However, the NewsletterSubscription custom object is not persisted. What is a possible reason?A . The code shown need to be wrapped in a transaction. B. The code shown needs to...
What is the correct way to use this controller route in an ISML template?
In the SFRA Page controller, the following route exists: The result of navigating to the address below is an error page. What is the correct way to use this controller route in an ISML template? A) B) C) A . Option A B. Option B C. Option CView AnswerAnswer: C
How should the developer modify the route that handles the customer registration?
A developer is given the requirement to add a step to the existing business logic of the registration process. How should the developer modify the route that handles the customer registration?A . Change the controller route with new functionality. B. Extend the route with new functionality. C. Copy the code...
Which line of code should the developer use to replace line 6 and correct the problem?
Server.get(‘Show’, consentTracking.consent, cache.applyDefaultCache, function (req,res,next){ Var Site = require(‘dw/system/Syte”); Var pageMetaHelpter = require(‘*/cartridge/scripts/helpers/pageMetaHelper’); pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current); res.render(‘/home/homePage’); Missing code here }, pageMetadata.computedPageMetadata); The controller endpoint code snippet above does not work. Which line of code should the developer use to replace line 6 and correct the problem?A . next(); B. return...
Which sequence of steps is necessary to change the site to gross taxation?
A developer set up a new site with Taxation: Net. However, the business requirements changed and the site now needs to be Taxation:Gross. The Business Manager interface does not give this option. Which sequence of steps is necessary to change the site to gross taxation?A . Make sure that the...
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?
A Newsletter controller contains the following route: Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?A . Custom Objects can only be created by Job scripts B. The Subscribe route is missing the server.middleware.httpt middleware. C....
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?A . npm run compile:js, npm run compile:html, npm run clean B. npm run compile:scss, npm run compile:html, npm run...
What are two techniques the developer should implement to achieve this?
A developer is asked to improve the maintainability of a page by reducing its code repetition. What are two techniques the developer should implement to achieve this? Choose 2 answers.A . Require and render templates with <isscript> tags B. Use local template includes C. Implement template decorators paired with replace...
Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?
The developer needs to add custom category debug logging into the “contact’’ script, to ensure that a third-party service call responds as expected. Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet...
instead of the Administration section import modules?
A developer is importing edits for two different sites into the same sandbox, and is provided with four different files. Which two XML files should the developer import using the site-specific Merchant Tools import modules, instead of the Administration section import modules? Choose 2 answers.A . System type extensions (solo...