Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Exam - Topic 6 Question 10 Discussion
Given a NewsletterSubscription custom object that has a key attribute named email of type String, what isthe correct syntax to create the NewsletterSubscription custom object and persist it to the database?
C) Var customobject = dw.object.CustomObjectMgr. createCustomObject
('NewsletterSubscription', newsLetterForm.email.value);
A) Var customobject = dw.object.CustomObjectMgr.createNewsletterSubscription('email',
newsLetterForm.email.value);
B) Var customobject =
dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value,
'NewsletterSubscription');
D) Var customobject = dw.object.CustomObjectMgr. createCustomObject
('NewsletterSubscription','email', newsLetterForm.email.value);
Ronnie
7 months agoIzetta
7 months agoDenae
7 months agoKathryn
8 months agoSage
8 months agoRodolfo
8 months agoAmber
8 months agoVirgina
8 months agoLinn
8 months agoCherry
8 months agoReyes
8 months agoErick
8 months agoJoni
8 months agoGalen
8 months agoAshton
8 months ago