| Exam Code/Number: | CCD-102Join the discussion |
| Exam Name: | B2C Commerce Developer with SFRA |
| Certification: | Salesforce |
| Question Number: | 207 |
| Publish Date: | Jul 18, 2026 |
|
Rating
100%
|
|
In the SFRA Page controller, the following route exists:
The result of navigating to the address below is an error page.
What is the correct way to use this controller route in an ISML template?
A)
B)
C)
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?
A developer is configuring Payment Methods on a storefront. Which of the following considerations should be kept in rmnd while configuring payment methods,
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?