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?
Business Manager has the configuration:
• Active Log category is " root "
• Log level of INFO
The code below executes.
varlog=Logger.getLogger( " products " , " export " );
log.info( " This is important information " );
Using this information, what is the beginning of the filename in which the log will be written?
Given the requirements:
• To show the washing instructions for a clothing product on a dedicated section of the detail page
• Washing instructions come from the product information manager (PIM)
• To have this attribute available to localize in the Storefront
Which action meets these requirements?
A developer is asked to implement a simple call to an authentication-protected REST web service.
Which configuration is valid?
Given a job step configured in the job that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status doesn ' t represent an error condition. Which code snippet completes this requirement?
A client has a requirement to allow users on the Storefront to filter by a newly created attribute.
After creating the search refinement, what else is necessary to achieve this?
How should a developer achieve the task of not accepting certain asset components in a new Page Designer layout component?
A client that sells sport shoes wants to allow its customers to filter products based on the intended activity (such as tennis, jogging, basketball, etc.), but this particular information is not present in the current catalog.
Which two actions does a developer need to perform in a B2C Commerce instance to allow this to happen?
A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.
According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?
A merchant wants customers to be able to order gift vouchers via their site. Since they can issue an unlimited number of these digital vouchers, this item should be available to sell at all times.
How can a developer use Business Manager to ensure that the gift vouchers are always available?