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
9 months agoIzetta
9 months agoDenae
9 months agoKathryn
9 months agoSage
9 months agoRodolfo
9 months agoAmber
9 months agoVirgina
9 months agoLinn
10 months agoCherry
10 months agoReyes
10 months agoErick
10 months agoJoni
10 months agoGalen
10 months agoAshton
10 months ago