Salesforce Certified B2C Commerce Cloud 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
8 months agoArdella
8 months agoLauran
8 months agoMarion
9 months agoLou
9 months agoAugustine
9 months agoHannah
9 months agoTrina
9 months agoArleen
9 months agoLisbeth
9 months agoLavera
9 months agoAlonzo
9 months agoAlona
9 months agoVicki
10 months agoBlair
10 months agoLisbeth
10 months agoToi
10 months agoShakira
10 months agoGracia
10 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