Notifications
Clear all

Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object and persist it to the database?

1 Posts
1 Users
0 Likes
82 Views
(@mccroygalen)
Posts: 739
Noble Member
Topic starter
 

Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object and persist it to the database?

  • A . Var customobject = dw.object.CustomObjectMgr.createNewsletterSubscription(‘email’,
    newsLetterForm.email.value);
    B. Var customobject =
    dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value,
    ‘NewsletterSubscription’);
    C. Var customobject = dw.object.CustomObjectMgr. createCustomObject (‘NewsletterSubscription’, newsLetterForm.email.value);
    D. Var customobject = dw.object.CustomObjectMgr. createCustomObject (‘NewsletterSubscription’,’email’, newsLetterForm.email.value);

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 10/12/2022 3:46 am

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: