Exam4Training

Which link function generates the correct link?

A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions.

Which link function generates the correct link?
A . $include(‘Page-Include’, ‘cid’, ‘terms-and-conditions’)$
B . $http(‘Content-Page’, ‘cid’, ‘terms-and-conditions’)$
C . $httpUrl(‘Content-Show’, ‘cid’, ‘terms-and-conditions’)$
D . $url(‘Page-Show’, ‘cid’, ‘terms-and-conditions’)$

Answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FContent%2FContentassetlinkexamples.html

Exit mobile version