Question 21
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?
}, 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 22
A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Log.
Which step needs to be completed to get the messages to appear in the Request Log?
Which step needs to be completed to get the messages to appear in the Request Log?
Question 23
Given the following conditions:
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
Question 24
A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?
Given the above requirement, where should the developer create that partition in Business Manager?
Question 25
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which resource_id value enables the appropriate resource?
An example request URL is:

Which resource_id value enables the appropriate resource?
