Question 71

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?
  • Question 72

    A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.

    However, the NewsletterSubscription custom object is not persisted.
    What is a possible reason?
  • Question 73

    A Digital Developer is working in a sandbox on a site named test-site using the domain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.
    By default, which URL format is a proper Open Commerce API for Sandbox?
  • Question 74

    Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.
    The following processing code is found in the Cart.js controller file:

    What should the Developer verify to identify the issue?
  • Question 75

    Which line of code creates a content slot that can be included on homepage.isml to display on the home page?