Salesforce Certified B2C Commerce Developer (Comm-Dev-101) Exam - Topic 5 Question 66 Discussion
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 providedata to the response using a controller?Choose 2 answers
C) res.render('/content/myPage',{
data: myDataObject
});
next();
});
A) res.viewData = {
data: myDataObject
};
res.render('/content/myPage');
next();
});
B) res.setViewData ({
data: myDataObject
});
res.render('/content/myPage');
next();
});
D) res.render('/content/myPage');
next();
}).append{(
Data:myDataObject
});
Marshall
9 months agoArdella
10 months agoLauran
10 months agoMarion
10 months agoLou
10 months agoAugustine
10 months agoHannah
11 months agoTrina
11 months agoArleen
11 months agoLisbeth
11 months agoLavera
11 months agoAlonzo
11 months agoAlona
11 months agoVicki
11 months agoBlair
11 months agoLisbeth
11 months agoToi
11 months agoShakira
11 months agoGracia
11 months agoShelba
1 year agoKerry
1 year agoFletcher
1 year agoLino
1 year agoLindsey
1 year agoTanesha
1 year agoAnglea
1 year agoLizbeth
1 year agoChaya
1 year agoBeula
1 year agoAndra
1 year agoJarod
1 year agoDan
1 year agoTammy
1 year agoCorinne
1 year agoMarsha
1 year agoGregoria
1 year agoLaila
1 year agoLindsey
1 year agoTeri
1 year ago