Notifications
Clear all

Given the following snippet:

1 Posts
1 Users
0 Likes
72 Views
(@soquirandolph)
Posts: 729
Noble Member
Topic starter
 

CORRECT TEXT

Given the following snippet:

• Server.append( ‘Show’ , function (req, res, next) )

According to SFRA, which two options shows a correct way to complete the code above in order to provide data to the response using a controller? Choose 2 answers

  • A . res.viewData = {
    data: myDataObject
    };
    res.render(‘/content/myPage’);
    next();
    });
    B. res.setViewData ({
    data: myDataObject
    });
    res.render(‘/content/myPage’);
    next();
    });
    C. res.render(‘/content/myPage’,{
    data: myDataObject
    });
    next();
    });
    D. res.render(‘/content/myPage’);
    next();
    }).append{(
    Data:myDataObject
    });

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 23/01/2023 8:18 pm

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

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