CCM-101試験無料問題集「Salesforce Manage and Merchandise a B2C Commerce Cloud Store - Extended 認定」
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?
正解:B
解答を投票する
The Home-Show route uses this middleware chain:
The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
Assuming the code is correct on both functions, what is the expected result?
The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
Assuming the code is correct on both functions, what is the expected result?
正解:A
解答を投票する
Given the sandbox with:
Service configured and assigned to its profile and credential
A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?
Service configured and assigned to its profile and credential
A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?
正解:A
解答を投票する
Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox.
Which two additional steps should the developer take to troubleshoot this problem?
Choose 2 answers
Which two additional steps should the developer take to troubleshoot this problem?
Choose 2 answers
正解:A,C
解答を投票する
Given a file in a plug-in cartridge with the following code:
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?
正解:B
解答を投票する
A merchant has a content slot on a page that currently displays products based on the top sellers for the current week. The merchant wants to change this functionality. They want to have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?
Which two actions are necessary to make this change?
正解:B
解答を投票する
A merchant is selling a new product line of televisions. In order to deliver a good customer experience, the merchandising team wants the screen size to be incorporated into the search and navigation journey.
Which two things can the developer do to facilitate this for them?
Choose 2 answers
Which two things can the developer do to facilitate this for them?
Choose 2 answers
正解:A,B
解答を投票する
A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and data model remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.
The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?
The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?
正解:D
解答を投票する