Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.
Which code snippet completes this requirement?
A retailer notices that the Account Addresses page is showing the wrong shopper ' s address.
Which tool should the developer start with to identify the issue?
A developer wants to embed a link to a content page from within the body of another content asset. The target content asset ID is:about-us
Which option represents the correct format to use?
A merchant has asked their development team to add a new site.
Which task is essential for correct site configuration prior to launch?
What is the action needed for the content slot to work as intended?
A developer is asked to periodically create a CSV file in a WebDAV folder to hold the orders information of the last 30 days. What should the developer do to implement such a requirement?
A developer has the following files in template/resources:
• account.properties - > weight.unit=kilos
• account_en.properties - > weight.unit=stones
• account_en_US.properties - > weight.unit=pounds
Using the default locale configuration, what is the current outcome of the page that renders the account.isml template snippet below when visiting the Storefront with the English for Canada (en_CA) locale?
Your parcel weighs 10 ${Resource.msg( ' weight.unit ' , ' account ' ,null)}.
In the SFRA Page controller, the following route exists:
server.get( ' Include ' ,server.middleware.include,cache.applyDefaultCache,
function(req,res,next) {
...assume original code here...
next();
}
);
The result of navigating to the address below is an error page.
https://yourinstance/on/demandware.store/Sites-RefArch-Site/en_US/Page-Include?cid=about-us
What is the correct way to use this controller route in an ISML template?
The Home-Show route uses this middleware chain:
server.get( ' Show ' ,consentTracking.consent,cache.applyDefaultCache,
function(req,res,next) {
// base code here
}
);
The developer added Home.js 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:
server.append( ' Show ' ,function(req,res,next) {
// custom code here
});
Assuming the code is correct on both functions, what is the expected result?
A client has a requirement to render different content on the homepage based on if the customer is logged in or a guest user.
What should a developer implement to achieve this requirement?