Given the file structure below, which ISML method call renders the customLandingPage template?

Given the file structure below, which ISML method call renders the customLandingPage template?

A . ISM
B . renderTamplate(‘cartridge/templates/default/content/custom/customLandingPage’);
C . ISML(‘content/custom/customLandingPage’);
D . ISM
E . render(‘content/custom/customLandingPage’);
F . ISM
G . renderTemplate(‘content/custom/customLandingPage’);

Answer: D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC4/index.jsp?topic=% 2Fcom.demandware.dochelp%2FDWAPI%2Fscriptapi%2Fhtml%2Fapi%2Fclass_dw_template_ISML.html

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Vikrant
Vikrant
4 years ago

Answer is incorrect.

Correct Ans is
ISML.renderTemplate(‘content/custom/customLandingPage’);