| Exam Name: | Salesforce Certified B2C Commerce Developer | ||
| Exam Code: | Comm-Dev-101 Dumps | ||
| Vendor: | Salesforce | Certification: | Developers |
| Questions: | 154 Q&A's | Shared By: | aasiyah |
A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.
varCustomObject=
dw.object.CustomObjectMgr.createCustomObject(
' NewsletterSubscription ' ,
newsletterForm.email.value
);
However, the NewsletterSubscription custom object is not persisted. What is a possible reason?
A developer wants to add a link to the My Account page.
What is the correct code to accomplish this?
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
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?