Comm-Dev-101 Exam Question 26

A client has a requirement to allow users on the Storefornt to filter by a newly created attribute.
Which is necessary to achieve this?
  • Comm-Dev-101 Exam Question 27

    A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
    Which action should the developer take to resolve the problem?
  • Comm-Dev-101 Exam Question 28

    The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.
    What is the correct folder to store the associated .properties files?
  • Comm-Dev-101 Exam Question 29

    A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.
    * The current customer
    * Whether or not the customer is authenticated
    * The privacy attributes (such as tracking consent or cookie policy)
    Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
  • Comm-Dev-101 Exam Question 30

    A Newsletter controller contains the following route:
    Server.post('Subscribe', function (req,res,next){
    var newsletterForm = server.forms.getForm('newsletter');var CustomObjectMgr = require('dw/object/CustomObjectMgr'); if(newsletterForm.valid){ try{ var CustomObject = CustomObjectMgr.createCustomObejct('NewsletterSubscription', newsletterform.email.value); CustomObject.custom.firstName = newsletterForm.fname.value; CustomObject.custom.lastName = newsletterForm.lname.value;-
    } catch(e){
    //Catch error here
    }
    }
    next();
    });
    Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?