Salesforce Related Exams
B2C-Commerce-Developer Exam
Key topics include:
B2C Commerce data models
Business Manager configuration
APIs and services
Site development and deployment
Security and troubleshooting
The Salesforce B2C-Commerce-Developer Exam tests skills in building and customizing eCommerce storefronts on Salesforce Commerce Cloud, while the MCE-Dev-201 Exam focuses on Marketing Cloud Engagement, covering APIs, AMPscript, SQL, and automation for personalized marketing campaigns.
A developer wants to use an external application to manage their stores information (such as opening
hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are
saved.
What is the appropriatetechnique the developer should perform to allow the merchant to create a new
store in this scenario?
A Newsletter controller contains the following route:
Server.post(‘Subscribe’, function (req,res,next){
var newsletterForm = server.forms.getForm(‘newsletter’);var CustomObjectMgr = require(‘dw/object/CustomObjectMgr’);
if(newsletterForm.valid){
try{
var CustomObject =
CustomObjectMgr.createCustomObejct(‘NewsletterSubscription’, newsletterform.email.value);
CustomObject.custom.firstName = newsletterForm.fname.value;
CustomObject.custom.lastName = newsletterForm.lname.value;-
} catch(e){
//Catch error here
}
}
next();
});
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template
when the subscription form is correctly submitted?
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?