CCD-102 practice question 3 of 30
Server.get(‘Show’, consentTracking.consent, cache.applyDefaultCache, function (req,res,next){ Var Site = require(‘dw/system/Syte”); Var…
Choose your answer, then check it against the explanation.
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?
Question 3 of 30
Keep practicing
Take the free CCD-102 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCD-102 practice questions
- Question 1A developer has a sandbox with code to log a message during execution, and the following …
- Question 4A developer needs to update the package.json file so that it points to the hock file for …
- Question 5A developer wants to create in Business Manager extension with the cartridge named plugin…
- Question 6A client uses tax tables in Business Manager to calculate tax. They recently started ship…
- Question 7A Digital Developer has a site export file on their computer that needs to be imported in…
- Question 8The developer created a new Storefront category in storefront-catalog-m-en, but when view…
