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