A developer is working on a feature that requires the use of a third-party API. What is the best practice for handling API responses in Salesforce B2C Commerce?
A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/product_inventory_records/00883408601
Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
A Storefront is designed so that multiple pages share a common header and footer layout.
Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?
What is the result when the code segment executes with the logger configuration?
Which method should a developer use to create a service instance that will call a remote web service?
What is accomplished by the code below?
< isinclude url= " ${URLUtils.url( ' Account-Header ' , ' mobile ' , true)} " / >
A developer is working on a new feature that requires the use of a custom script. What is the first step the developer should take?
A developer implements an Open Commerce API call to add products to a basket. Given the following resource configuration:
{
" resource_id " : " /baskets/** " ,
" methods " :[ " get " ],
" read_attributes " : " (**) " ,
" write_attributes " : " (**) "
}
Which modification allows the requests to successfully execute?
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data. There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
A developer has a sandbox with code to log a message during execution, and the following code:
varLogger=require( ' dw/system/Logger ' );
Logger.info(message);
After the code executes, the developer does not see any log file with the message in the WebDAV folder.
What could the developer do to correct this issue?
|
PDF + Testing Engine
|
|---|
|
$41.25 |
|
Testing Engine
|
|---|
|
$31.25 |
|
PDF (Q&A)
|
|---|
|
$26.25 |
Salesforce Free Exams |
|---|
|