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?

Answer options
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.

Start the free practice test

More questions

Other CCD-102 practice questions

Scroll to Top